I am struggling with the Zigbee SDK for the nRF52840. I have successfully run the light switch demo with the PCA10056 board as the switch and two dongles behaving as coordinator and light bulb so I am now trying to make the switch work with a commercial hub by Samsung (SmartThings).
When I run the switch code the hub does not see it and the switch does not find a network to connect to. I tried to alter the code so that the switch uses the ZB_BDB_FINDING_N_BINDING parameter in the bdb_start_top_level_commissioning call whereby it then says it connects tot he network successfully. I then try to call zb_bdb_finding_binding_target but I get error 35 which tells me that the 'State is Incorrect'.
I cannot find any relevant examples for using the finding and binding function. Can anybody help me out here? I am new to this so my knowledge of the SDK is not good and my experience with finding stuff on the WEB site is somewhat lacking. If there is some example code or a step by step detail of the procedure to get this working I would very much appreciate some help.