You could start by cleaning the code a little…
Double assignments like:
BL_LIGHT.eLabel.Q24CLASSIC_Label = bl_light_label = WM_IO_Q24CLASSIC_GPIO_5;
is incredibly ugly and I’m not sure how that works anyway…
The next thing is to check the return value from wm_ioAllocate.
I think the problem is in wm_ioAllocate(1, &BL_LIGHT); <-- size of BL_LIGHT is definitely not 1… try with a sizeof(BL_LIGHT) instead of the 1.
Sorry for the late response. Your suggestions did not help solving my problem. Tnx anyway for your response.
At this moment I am in a discussion with engineers at Wavecom about this problem. As soon I have an awnser to my problem I will add a new reply in this thread.
It might be more appropriate to add something in the Peripheral IO Interfaces forum, as this doesn’t seem to have anything to do with the Flow Control Manager (FCM):