This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In order to realize this function,we try to enable the BLE advertise again when the first iPhone connect to the device successfully,then the second iPhone can connect to the device simultaneously ,is that operation correctly?
Above operation can realize two or more iPhones' connections,if I try to disconnect one connection ,then I can connect again successfully,that seems to achieve the above requirement.
But,if there is only one connection,then I disconnect this connection,I can never connect again,that is not normal.
OpenStack().
Bluetooth Stack ID: 1
LOW ENERGY Support initialized.
Device Chipset: 4.1
BTPS Version : 4.2.1.0
PLAT Version : 1.0
App Name : SPPLEDemo
App Version : 0.6
Project Type : 6
FW Version : 12.26
Local BD_ADDR: 0x985DAD11CCE6
******************************************************************
* Command Options: Server, Client, Help *
******************************************************************
SPP+LE>Server
******************************************************************
* Command Options General: Help, GetLocalAddress, SetBaudRate *
* Quit, *
* Command Options BR/EDR: Inquiry, DisplayInquiryList, Pair, *
* EndPairing, PINCodeResponse, *
* PassKeyResponse, *
* UserConfirmationResponse, *
* SetDiscoverabilityMode, *
* SetConnectabilityMode, *
* SetPairabilityMode, *
* ChangeSimplePairingParameters, *
* GetLocalName, SetLocalName, *
* GetClassOfDevice, SetClassOfDevice, *
* GetRemoteName, SniffMode, *
* ExitSniffMode, Open, Close, Read, *
* Write, GetConfigParams, *
* SetConfigParams, GetQueueParams, *
* SetQueueParams, Loopback, *
* DisplayRawModeData, AutomaticReadMode,*
* CBSend *
* Command Options GAPLE: SetDiscoverabilityMode, *
* SetConnectabilityMode, *
* SetPairabilityMode, *
* ChangePairingParameters, *
* SetRandomAddress, *
* ResolveRemoteAddress, *
* AdvertiseLE, StartScanning, *
* StopScanning, ConnectLE, *
* DisconnectLE, CancelConnectLE, *
* PairLE, UnPairLE, LEPasskeyResponse, *
* QueryEncryptionMode, SetPasskey, *
* DiscoverGAPS, GetLocalName, *
* SetLocalName, GetLERemoteName, *
* LEUserConfirmationResponse, *
* EnableSCOnly, *
* RegenerateP256LocalKeys, *
* SCGenerateOOBLocalParams, *
* SetLocalAppearance, *
* GetLocalAppearance, *
* GetRemoteAppearance, *
* Command Options SPPLE: DiscoverSPPLE, RegisterSPPLE, LESend, *
* ConfigureSPPLE, LERead, Loopback, *
* DisplayRawModeData, AutomaticReadMode *
******************************************************************
SPP+LE>
SPP+LE>RegisterSPPLE
Successfully registered SPPLE Service.
SPP+LE>
SPP+LE>AdvertiseLE 1 0
GAP_LE_Advertising_Enable success.
SPP+LE>
SPP+LE>
etLE_Connection_Complete with size 16.
Status: 0x00.
Role: Slave.
Address Type: Random.
BD_ADDR: 0x44C19DE42E32.
SPP+LE>
etGATT_Connection_Device_Connection with size 16:
Connection ID: 1.
Connection Type: LE.
Remote Device: 0x44C19DE42E32.
Connection MTU: 23.
SPP+LE>
SPP+LE>
SPP+LE>AdvertiseLE 1 0
GAP_LE_Advertising_Enable success.
SPP+LE>
SPP+LE>
etGATT_Connection_Device_Disconnection with size 12:
Connection ID: 1.
Connection Type: LE.
Remote Device: 0x44C19DE42E32.
SPP+LE>
etLE_Disconnection_Complete with size 9.
Status: 0x00.
Reason: 0x13.
BD_ADDR: 0x44C19DE42E32.
SPP+LE>
etLE_Connection_Complete with size 16.
Status: 0x00.
Role: Slave.
Address Type: Random.
BD_ADDR: 0x44C19DE42E32.
SPP+LE>
etGATT_Connection_Device_Connection with size 16:
Connection ID: 2.
Connection Type: LE.
Remote Device: 0x44C19DE42E32.
Connection MTU: 23.
SPP+LE>