I would like to use the KC21 Bluetooth module to send data from a microcontroller to a remote tablet. The microcontroller is able to configure the Bluetooth module and switch between command and bypass modes, but I cannot configure the desired security mode.
The tablet integrating a Bluetooth module should work as the master. In case of pairing, the slave cannot guess what Keypass is printed to the master's screen, or guess the master's address (with AT PairingOption=2, AT Security=3). With 'Security' option lower than 3, the connection is always accepted.
The new pairing method is not suitable for our system.
I would like to use a simple PinCode authentication: The master try to pair/connect to the slave, a PinCode is requested at the master's screen. If the user enters the static PinCode previously configured by the slave, the connection is successful.
Is this authentication mode possible? What I am missing to realize this?
For my tests, I use a mini Bluetooth USB module connected to a computer instead of a remote tablet. The KC21 firmware is v3.0 (BTv2.1+EDR).
The 'AT ShowSettings' command gives me:
-> Name "kcSerial"
-> D AutoConnect 000000000000 0 0
-> D BatteryMon Low=0mV Off=0mV 0s
-> E Connectable
-> D DebugMode
-> D DeepSleep
-> E Discoverable
-> E EscapeCommand
-> E FastCmdParse
-> D HwFlowControl
-> E LowLatency
-> E Messages
-> E Pairable
-> E RemoteCommand
tnqn Securith fE ScM-> ClO0->Cn
-> PrevCn1FSev-> Sniffsv0 Snie:31>SnitS U1Eg
Thank you any help.