-
Notifications
You must be signed in to change notification settings - Fork 12
Description
It appears that the P_LANG_CODE fields of the NDEF text records used in NFC are custom identifiers: "fw", "ad", and "id"; instead of the IANA language code describing the language used (see https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/group__nfc__text__rec).
ruuvi.drivers.c/nrf5_sdk15_platform/communication/ruuvi_platform_communication_nfc.c
Line 154 in e4c90c6
uint8_t fw_code[] = {'f', 'w'}; // Firmware |
ruuvi.drivers.c/nrf5_sdk15_platform/communication/ruuvi_platform_communication_nfc.c
Line 162 in e4c90c6
uint8_t addr_code[] = {'a', 'd'}; // Address |
ruuvi.drivers.c/nrf5_sdk15_platform/communication/ruuvi_platform_communication_nfc.c
Line 170 in e4c90c6
uint8_t id_code[] = {'i', 'd'}; // ID |
This should therefore probably be changed to use "en" for all three NDEF text records?