Part Number: CC2340R5
Hi,
I am using CC2340R5 basic_ble peripheral code with ANCS.
Here the GATT permissions for the characteristics in peripheral and bond settings
static gattAttribute_t simpleGattProfile_attrTbl[] =
{
/*------------------type-----------------*/ /*-----------permissions-----------*/ /*-----------------pValue----------------*/
// Simple Profile Service
GATT_BT_ATT( primaryServiceUUID, GATT_PERMIT_READ, (uint8 *) &simpleGattProfile_Service ),
//**********************************************************************************************************************************
// Characteristic 1 Declaration
GATT_BT_ATT( characterUUID, GATT_PERMIT_READ, &simpleGattProfile_Char1Props ),
// Characteristic Value 1
GATT_ATT( simpleGattProfile_char1UUID, /*GATT_PERMIT_READ |*/ GATT_PERMIT_WRITE, &simpleGattProfile_Char1 ),
// Characteristic 1 User Description
// GATT_BT_ATT( charUserDescUUID, GATT_PERMIT_READ | GATT_PERMIT_WRITE, simpleGattProfile_Char1UserDesp ),
//**********************************************************************************************************************************
GATT_BT_ATT( characterUUID, GATT_PERMIT_READ, &simpleGattProfile_Char4Props ),
// Characteristic Value 4
GATT_ATT( simpleGattProfile_char4UUID, /*GATT_PERMIT_READ|*/GATT_PERMIT_WRITE, &simpleGattProfile_Char4 ),
// Characteristic 4 configuration
GATT_BT_ATT( clientCharCfgUUID, GATT_PERMIT_READ | GATT_PERMIT_WRITE, (uint8 *) &simpleGattProfile_Char4Config ),
//**********************************************************************************************************************************

With android without passkey I can connect with peripheral. When am trying to connect an mobile where passkey need to provide in iPhone. But I need to connect iPhone with no any secure connection.
Here the link of ANCS source code from TI GitHub
Need to know what changes is required to connect an iPhone without any secure connection.
SDK Version : simplelink_lowpower_f3_sdk_7_40_00_64 (peripheral)
CCS version: CCS 12.5.0
Thanks.
Vignesh.
