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.
Hi, Everyone
I have a question about CC2564 with AM335x and CC2564 with MSP430.
I setup these device:
(a)CC2564 + Linux AM335x
I watch this URL
processors.wiki.ti.com/.../Using_CC2564_with_Linux
but this URL is old version of Bluetopia stack.
I try ProcesserSDK 3.0 + TI-BT-STACK_LINUX-ADDON + patchfile
(b)CC2564 + MSP430
I try MSP430F5438A EVM + CC2564MODA.
I want to communicate between (a) and (b) with SPP Demo.
I got Log of AM335x + CC2564 (a)
===============================================================
SPPM>Initialize 1
BTPM_Initialize() Success: 0.
DEVM_RegisterEventCallback() Success: 5.
SPPM>SetDevicePower 1
echo 117 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio117/direction
echo 0 > /sys/class/gpio/gpio117/value
echo 1 > /sys/class/gpio/gpio117/value
echo 0 > /sys/class/gpio/gpio117/value
echo 1 > /sys/class/gpio/gpio117/value
BT COMM PORT (/dev/ttyS1): 1
Changing HCI baud rate to 3000000
Status: Executing BTS Script /lib/firmware/TIInit_6.7.16.bts.
Status: BTS Script successfully executed.
DEVM_PowerOnDevice() Success: 0.
SPPM>
Device Powered On.
SPPM>
SPPM>QueryRemoteDeviceServices 0017E9E57CA6 1
Attempting Query Remote Device 0017E9E57CA6 For Services.
Remote Device Found.
BD_ADDR: 0017E9E57CA6
COD: 0x000000
Device Name:
Device Flags: 0x80000000
RSSI: 0
Friendly Name:
App. Info: : 00000000
Paired State : FALSE
Connect State: FALSE
Encrypt State: FALSE
Sniff State : FALSE
Serv. Known : FALSE
SPPM>DEVM_QueryRemoteDeviceServices() Success: 0, Total Number Service Bytes: 0.
SPPM>
Remote Device Properties Changed.
BD_ADDR: 0017E9E57CA6
Device Flags: 0x80000048
Connect State: TRUE
SPPM>
Remote Device Properties Changed.
BD_ADDR: 0017E9E57CA6
Device Name:
Device Flags: 0x80000049
SPPM>
Remote Device 0017E9E57CA6 Services Status: BR/EDR, SUCCESS.
SPPM>
Remote Device Properties Changed.
BD_ADDR: 0017E9E57CA6
Device Flags: 0x80000149
Serv. Known : TRUE
SPPM>
Remote Device Properties Changed.
BD_ADDR: 0017E9E57CA6
Device Flags: 0x80000101
Connect State: FALSE
SPPM>OpenRemotePort 0017E9E57CA6 1
SPPM_OpenRemotePort(1) Success. Port Handle: 1.
SPPM>
Remote Device Properties Changed.
BD_ADDR: 0017E9E57CA6
Device Flags: 0x80000149
Connect State: TRUE
SPPM>
Remote Port Open Status.
Port Handle: 1
Status: Remote Port Open Failure: Timeout
SPPM>
Remote Device Properties Changed.
BD_ADDR: 0017E9E57CA6
Device Flags: 0x80000101
Connect State: FALSE
=====================================================================
and I got Log in CC2564 + MSP430 Case (b)
=====================================================================
penStack().
Bluetooth Stack ID: 1
Device Chipset: 4.1
BD_ADDR: 0x0017E9E57CA6
******************************************************************
* Command Options: Server, Client, Help *
******************************************************************
Choose Mode>Client
******************************************************************
* Command Options: Inquiry, DisplayInquiryList, Pair, *
* EndPairing, PINCodeResponse, PassKeyResponse, *
* UserConfirmationResponse, *
* SetDiscoverabilityMode, SetConnectabilityMode,*
* SetPairabilityMode, *
* ChangeSimplePairingParameters, *
* GetLocalAddress, GetLocalName, SetLocalName, *
* GetClassOfDevice, SetClassOfDevice, *
* GetRemoteName, SniffMode, ExitSniffMode, *
* Open, Close, Read, Write, *
* GetConfigParams, SetConfigParams, *
* GetQueueParams, SetQueueParams, *
* Loopback, DisplayRawModeData, *
* AutomaticReadMode, SetBaudRate, Send *
* Help, Quit *
******************************************************************
Client>Inquiry
Client>
Inquiry Entry: 0x34C731AA8EA1.
Client>
Inquiry Entry: 0xE8B1FCCE5873.
Client>
Inquiry Entry: 0x34C731AB4133.
Client>
Inquiry Entry: 0x0000A07E49CA.
Client>
Inquiry Entry: 0x1040F3E68E74.
Client>
Result: 1,0x34C731AA8EA1.
Result: 2,0xE8B1FCCE5873.
Result: 3,0x34C731AB4133.
Result: 4,0x0000A07E49CA.
Result: 5,0x1040F3E68E74.
=================================================================
Can you tell me how to work to commnicate between (a) and (b) ?
and in AM335x+CC2564 case, I want to know how to show BD_ADDR of CC2564 ((a)'s BD_ADDR) ?
Best Regards
Hiroyasu