I'm trying to program the mcu on the WF121 to connect to a particular network by its BSSID, however I am confused by the hw_addr data type in the documentation. How would I call wifi_cmd_sme_connect_bssid with the BSSID of 00:07:80: 1A:2B:3C, for example?
argument in function wifi_cmd_sme_connect_bssid is hw_addr type which is array of unsigned chars. To call this function in Bluegiga WF121 GUI use:
but while programming I expect
short example of this can be found in the WF121's SDK under path: wf121-1.4.1-91\src_example\tcp_example\main.c
it should work in basic mode as it is described in the documentation. First argument is length of password and next one is normal char data array: