wiced_result_t wiced_wifi_set_roam_trigger(int32_t trigger_level)
Set roam trigger level
[in] trigger_level : Trigger level in dBm. The Wi-Fi device will search for a new AP to connect to once the
signal from the AP (it is currently associated with) drops below the roam trigger level. Valid value range: 2 to -100 0 : Default roaming trigger 1 : Optimize for bandwidth roaming trigger 2 : Optimize for distance roaming trigger -1 to -100: Roaming will be triggered based on the specified RSSI value
Can you check the return value you are getting? You can refer to wwd_constants.h for finding the return type according to value.
can you tell the error code it returned?
I have used wiced_wifi_set_roam_trigger() in scan and apsta application and it returns the value as 2010 which means Not band locked. These application run as expected.
If you can elaborate a bit on the application where you are using this API, I might be able to help.
2 of 3 people found this helpful
It should return WICED_SUCCESS. I tried on my end on the CYW943907AEVAL1F and also saw the failure. We were able to fix it locally and now have to merge it to the SDK. Shall reach out once the fix is in.