We used following projects for studying BLE and CC2540 SimpleBLECentral and SimpleBLEPeripheral that was included in BLE software. This software implements the five simple GATT profiles. Testing showed, that development is working with only two profiles – first one (1 byte read/write), second (1 byte only read).
Profile selection is made by using the GATT_ReadUsingCharUUID method . For first two this method returns “Success” status, reading/writing data is possible (for second profile only reading).
Testing of third profile showed, that method GATT_ReadUsingCharUUID returns error status (error code 0x01).
Testing fifth profile showed similar situation (when trying to use this profile, use an encrypted connection).
We need a single session is to pass an array of data cells.
What are we doing wrong?
BR.