Post links and attach files for documentation here, also chat about these docs freely

User avatar
By zapping
#44257 Must be... But used for receive WDS

Info from APIs Guide of non-OS SDK, based on ESP8266_NONOS_SDK_V1.5.2 ---> http://bbs.espressif.com/download/file.php?id=1251

wifi_rfid_locp_recv_open
Function:
Enable RFID LOCP (Location Control Protocol) to receive WDS packets.
Prototype:
int wifi_rfid_locp_recv_open(void)
Parameter:
none
Return:
0, succeed;
otherwise, fail.

wifi_rfid_locp_recv_close
Function:
Disable RFID LOCP (Location Control Protocol).
Prototype:
void wifi_rfid_locp_recv_close(void)
Parameter:
none
Return:
none

wifi_register_rfid_locp_recv_cb
Function:
Register a callback of receiving WDS packets. Only if the first MAC
address of the WDS packet is a multicast address.
Callback Definition:
typedef void (*rfid_locp_cb_t)(uint8 *frm, int len, int rssi);
Parameter:
uint8 *frm : point to the head of 802.11 packet
int len : packet length
int rssi : signal strength
Prototype:
int wifi_register_rfid_locp_recv_cb(rfid_locp_cb_t cb)
Parameter:
rfid_locp_cb_t cb : callback
Return:
0, succeed;
otherwise, fail.

wifi_unregister_rfid_locp_recv_cb
Function:
Unregister the callback of receiving WDS packets.
Prototype:
void wifi_unregister_rfid_locp_recv_cb(void)
Parameter:
none
Return:
none
User avatar
By Cap
#44261 @zapping It's intriguing at least because of the following:
1) While RFID and LOCP show up in the Cisco's document it mention of WDS is just once. And it does not make sense if WDS stands for wireless distribution system in the context.
2) LOCP has bidirectional messaging per the Cisco's document. So I would expect the ESP API to provide for transmit/respond.

Too many acronyms and too less description in the ESP SDK documentation makes me feel less confident that ESP SDK is referring to is Cisco's LOCP. Any additional or counter perspective that might be more convincing? And if it's not Cisco's protocol, what is it?

This ambiguity could be removed when someone from Espressif explains, or adds to the SDK documentation. I have tried to post this question on bbs.espressif.com, hoping it gets their attention.


As an aside, do Espressif folks participate in this discussion group? If not, what's the best practice when a topic is relevant to Espressif as in this case?