Other Parts Discussed in Thread: Z-STACK, CC2530
Hello together
I actually try to get the Z-Stack sample switch demo up and running on my custom board!
I am actually using Z-Stack 1.2.2 (start small...) and out of that the sampleswitch example
from Projects\zstack\HomeAutomation\SampleSwitch\CC2530DB
I have ported the HAL_Keys.c definitions to be compatible with my board.
The function on the Line number ~440 in the file zcl_samplesw.c (in IAR within the App folder. otherwise within the Source folder)
gets called after i press my button.
zclGeneral_SendOnOff_CmdToggle( SAMPLESW_ENDPOINT, &zclSampleSw_DstAddr, FALSE, 0 ); |
unfortunately i cannot see any data in wireshark (with the sniffer connected) comming from my button press.
The module itself does register correctly to the coordinator. Communication itself is working properly.
I am looking for a absolute minimum example with a button and optionally a LED which can get enabled over the air.
Does anyone got an idea, why my actual implementation could fail?
Thanks!