iOS BLE Bluetooth - send/receive HEX data -
i creating ios application should connect custom ble device. need ios app send 2 hex commands, 1 enable part of device , request data.
is there way in ios send/receive custom hex data, other working services & characteristics?
no not possible, reason not ios 'services' , 'characteristics' part of how ble protocol defined.
official spec: https://developer.bluetooth.org/technologyoverview/pages/ble.aspx
generic attribute profile
the latest bluetooth specification uses service-based architecture based on attribute protocol (att). communication in low energy takes place on generic attribute profile (gatt). application or profile uses gatt profile client , server can interact in structured way.
the server contains number of attributes, , gatt profile defines how use attribute protocol discover, read, write , obtain indications. these features support service-based architecture. services used defined in profile specifications. gatt enables expose service , characteristics defined in profile specification.
Comments
Post a Comment