Arago 2013.05 am335x-evm ttyO0 am335x-evm login: root root@am335x-evm:~# cd ss1-production/ root@am335x-evm:~/ss1-production# ./SS1BTPM & [1] 1726 root@am335x-evm:~/ss1-production# ./LinuxSPPLE_PM ****************************************************************** * Command Options: 1) Initialize * * 2) Cleanup * * 3) QueryDebugZoneMask * * 4) SetDebugZoneMask * * 5) ShutdownService * * 6) RegisterEventCallback, * * 7) UnRegisterEventCallback, * * 8) QueryDevicePower * * 9) SetDevicePower * * 10)QueryLocalDeviceProperties * * 11)SetLocalDeviceName * * 12)SetLocalClassOfDevice * * 13)SetDiscoverable * * 14)SetConnectable * * 15)SetPairable * * 16)StartDeviceDiscovery * * 17)StopDeviceDiscovery * * 18)QueryRemoteDeviceList * * 19)QueryRemoteDeviceProperties * * 20)AddRemoteDevice * * 21)DeleteRemoteDevice * * 22)UpdateRemoteDeviceAppData * * 23)DeleteRemoteDevices * * 24)PairWithRemoteDevice * * 25)CancelPairWithRemoteDevice * * 26)UnPairRemoteDevice * * 27)QueryRemoteDeviceServices * * 28)QueryRemoteDeviceServiceSupported * * 29)QueryRemoteDevicesForService * * 30)QueryRemoteDeviceServiceClasses * * 31)AuthenticateRemoteDevice * * 32)EncryptRemoteDevice * * 33)ConnectWithRemoteDevice * * 34)DisconnectRemoteDevice * * 35)SetRemoteDeviceLinkActive * * 36)CreateSDPRecord * * 37)DeleteSDPRecord * * 38)AddSDPAttribute * * 39)DeleteSDPAttribute * * 40)EnableBluetoothDebug * * 41)RegisterAuthentication * * 42)UnRegisterAuthentication * * 43)PINCodeResponse * * 44)PassKeyResponse * * 45)UserConfirmationResponse * * 46)ChangeSimplePairingParameters * * 47)RegisterGATTCallback * * 48)UnRegisterGATTCallback * * 49)QueryGATTConnections * * 50)SetLocalDeviceAppearance * * 51)ConfigureSPPLE * * 52)Send * * 53)Read * * 54)Loopback * * 55)DisplayRawModeData * * 56)AutomaticReadMode * * 57)StartAdvertising * * 58)StopAdvertising * * Help, Quit. * ****************************************************************** SPPMLE>1 1 BTPM_Initialize() Success: 0. DEVM_RegisterEventCallback() Success: 5. SPPMLE>9 1 [ 63.803833] Gpio value is :117 [ 63.822326] WL1271: BT Enable Changing HCI baud rate to 3000000 Status: Executing BTS Script /lib/firmware/TIInit_11.8.32.bts. Status: BTS Script successfully executed. DEVM_PowerOnDevice() Success: 0. SPPMLE> Device Powered On. SPPMLE>RegisterGATTCallback GATM_RegisterEventCallback() Success: 1. SPPMLE>StartDeviceDiscovery 1 0 Attempting to Start Discovery (INDEFINITE). Local Device Properties Changed. Device Flags: 0x80010000 LE Scan Mode: TRUE, 0x00000000 LE Adv Mode: FALSE, 0x00000000 LE Slv Mode: Not in Slave Mode SPPMLE> LE Device Discovery Started. SPPMLE>DEVM_StartDeviceScan() Success: 0. SPPMLE> Remote Device Found. BD_ADDR: 3C2DB784022C Address Type: Public Device Name: Heart Rate Sensor LE Type: Single Mode Device Flags: 0x40003001 Device Appearance: 0 LE RSSI: -76 LE Paired State : FALSE LE Connect State: FALSE LE Encrypt State: FALSE GATT Services Known: TRUE SPPMLE>StopDeviceDiscovery 1 Local Device Properties Changed. Device Flags: 0x80000000 LE Scan Mode: FALSE, 0x00000000 LE Adv Mode: FALSE, 0x00000000 LE Slv Mode: Not in Slave Mode SPPMLE> LE Device Discovery Stopped. SPPMLE>DEVM_StopDeviceScan() Success: 0. SPPMLE>ConnectWithRemoteDevice 3C2DB784022C 1 Attempting to Connect With (LE) Remote Device: 3C2DB784022C (Flags = 0x80000000). DEVM_ConnectWithRemoteDevice() Success: 0. SPPMLE> Remote Device Connection Status: 3C2DB784022C, 0 (SUCCESS) SPPMLE> Remote Device Properties Changed. BD_ADDR: 3C2DB784022C Address Type: Public LE Type: Single Mode Device Flags: 0x4004B001 LE Connect State: TRUE SPPMLE> GATT Connection Connection Type: LE Remote Address: 3C2DB784022C MTU: 23 SPPMLE> Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. Data Indication Event, Received 2 bytes. DisconnectRemoteDevice 3C2DB784022C 1 Attempting to Disconnect Remote Device: 3C2DB784022C. DEVM_DisconnectRemoteDevice() Success: 0. SPPMLE> GATT Disconnect Connection Type: LE Remote Address: 3C2DB784022C SPPMLE> Remote Device Properties Changed. BD_ADDR: 3C2DB784022C Address Type: Public LE Type: Single Mode Device Flags: 0x40003001 LE Connect State: FALSE SPPMLE>