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 22 © Siemens AG 2011 Control Products and Systems
Subject to change without further notice. P. O. Box 10 09 53,
D-93009 Regensburg
Reads a value specified by ‘ValID’ from the parameter management and copies ‘len’
bytes to ‘dst’.
Parameters
:
BYTE ValID:
The ID that identifies the value
void* dst:
A pointer to a buffer in RAM where the data of the specified parameter value
should be copied
BYTE len:
The number of bytes that should be copied
Return values
:
true: the data of the specified parameter value was copied to ‘dst’
false: an error occurred; this could be the case when the specified parameter value
was not found
Callable in / at:
main
Stack used:
26 bytes
Comment:
---
2.11 Message
The following functions are used the work with system messages.
2.11.1 Function MsgCreate
Prototype:
MESSAGE* MsgCreate(void)
Description
:
This function tries to get a message from the message pool and returns a pointer to
the free message.
Parameters:
none
Return values:
A pointer to the message; if there was no free message, the return value is NULL.
Callable in / at:
main
Stack used: 12 bytes
Comment:
---
2.11.2 Function MsgDiscard
Prototype:
void MsgDiscard(MESSAGE* pMsg)
Description
:
This function posts a message back to the message pool.
Parameters
: