Application

GAMMA instabus
Release: December 2011
API-Reference for Bus Interface Modules M130, M131, M132, M135
KNX-Processors 184/01, 184/11, 184/21
Technical Manual pages 28 Siemens AG
Infrastructure and Cities Sector,
Building Technologies
page 26 © Siemens AG 2011 Control Products and Systems
Subject to change without further notice. P. O. Box 10 09 53,
D-93009 Regensburg
Comment:
---
2.12.3 Function GetSerialNumber
Prototype:
void GetSerialNumber(BYTE* dst)
Description
:
Use this function to read the serial number of this device.
Parameters
:
BYTE* dst:
A pointer to a buffer with at least 6 bytes in RAM where the actual serial
number of the device will be copied
Return values
:
none
Callable in / at:
main
Stack used: 26 bytes
Comment:
---
2.12.4 Function ReadBCU2Adr100
Prototype:
BOOL ReadBCU2Adr100(BYTE offset, BYTE count, void* dst)
Description
:
Use this function to copy ‘count’ bytes to ‘dst’ from the simulated address 0x0100
from the bcu 2.
Parameters
:
BYTE offset:
The offset starting from address 0x0100
BYTE count:
The number of bytes that should be copied
void* dst:
A pointer to a buffer in RAM where the data will be copied
Return values
:
true: the read operation was successful
false: an error occurred; this would be the case if something is wrong with the
parameters
Callable in / at:
main
Stack used:
26 bytes
Comment: