Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ C C#
I'm currently developing a zigbee stack . Have a lot of basic doubts in C .
void zb_mlme_get_request(zb_uint8_t param) ZB_CALLBACK;
I dont understand the above mentioned prototype .
I do understand this is a void function .
is nothing but a typedef for unsigned char. Char is a parameter . My doubt is what it means when you add
after parameters .
is my doubt . Can anyone guide me ?
Posted 21-Dec-12 3:58am
Fredrik Bornander at 21-Dec-12 9:45am
Can you see what the ZB_CALLBACK macro does? I'm guessing it's just a marker so that they know what is callbacks.
Jochen Arndt at 21-Dec-12 9:53am
Can't help you really but all uppercase letters is usally a definition. Have a look in the API header files. It must be defined somewhere.
steven8Gerrard at 21-Dec-12 10:11am
have searched it cant find the macro. It is not defined as far i know . say if i have defined. What it means? Does it link? What the macro does here?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Check out the API information here[^].
ZB_CALLBACK is a macro set up to allow you to define a C callback function when I'm assuming a request of some kind is made.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 21 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100