bluetooth-lowenergypairingpasskey

AT+PASSKEY in BLE 5.0 . How to set and use?


I would like to use the EBYTE E104-BT52 module on my device and connect to it via an Android smartphone. But what if the client device is running BLE 4.2 and it will be unsecure pairing. To avoid this I would use passkey which will be showed on the device's display. But I dont find AT+PASSKEY ( or something similar ) in the user manuals: E104-BT07, E104-BT08, E104-BT5032A/B, E104-BT52, E104-52X, E104-BT09, E104-BT5040U(ble 4.2), E104-BT5032A/B. ( AT+PASSKEY is in the E104-BT40 user manual ( dual-mode bluetooth module ble 4.2 spp 3.0 Classic ) ).

Does it mean that I must write own firmware (this is undesirable) for E104-BT52 for use Passkey?


Solution

    1. I contacted EByte support. They replied: "I have confirmed with the engineer that our modules default to transparent transmission modules. It does not have functions related to the BLE and SM layers."
    2. My solution to this problem (using E104-BT5011A or similar):
      a. E104-BT5011A is in sleep mode with Advertising=0 (disable).
      b. when user presses button, I wake up ble. user can connect to the module.
      c. after user set all settings via bluetooth, he confirms by pressing button again to save settings.
      d. I disable advertising.