Tool/software: Linux
Hi All,
we are working with ti-processor-sdk-linux-am335x-evm-03.00.00.04 + wg7833(wifi+bluetooth)+AM335xBluetopiaLinuxProduction-4.2.1.0.1.0 bluetooth stack
1.I'm trying to test ftpm profile .I got below error
root@am335x-evm:~# cd BluetopiaPM/bin/
root@am335x-evm:~/BluetopiaPM/bin# ./SS1
SS1BTPM SS1Tool
root@am335x-evm:~/BluetopiaPM/bin# ./SS1BTPM &
root@am335x-evm:~/BluetopiaPM/bin# ./LinuxFTPM_CLT
******************************************************************
* Command Options: 1) Initialize *
* 2) Cleanup *
* 3) QueryDebugZoneMask *
* 4) SetDebugZoneMask *
* 5) SetDebugZoneMaskPID *
* 6) ShutdownService *
* 7) RegisterEventCallback, *
* 8) UnRegisterEventCallback, *
* 9) QueryDevicePower *
* 10)SetDevicePower *
* 11)QueryLocalDeviceProperties *
* 12)SetLocalDeviceName *
* 13)SetLocalClassOfDevice *
* 14)SetDiscoverable *
* 15)SetConnectable *
* 16)SetPairable *
* 17)StartDeviceDiscovery *
* 18)StopDeviceDiscovery *
* 19)QueryRemoteDeviceList *
* 20)QueryRemoteDeviceProperties *
* 21)AddRemoteDevice *
* 22)DeleteRemoteDevice *
* 23)UpdateRemoteDeviceAppData *
* 24)DeleteRemoteDevices *
* 25)PairWithRemoteDevice *
* 26)CancelPairWithRemoteDevice *
* 27)UnPairRemoteDevice *
* 28)QueryRemoteDeviceServices *
* 29)QueryRemoteDeviceServiceSupported *
* 30)QueryRemoteDevicesForService *
* 31)QueryRemoteDeviceServiceClasses *
* 32)AuthenticateRemoteDevice *
* 33)EncryptRemoteDevice *
* 34)ConnectWithRemoteDevice *
* 35)DisconnectRemoteDevice *
* 36)SetRemoteDeviceLinkActive *
* 37)CreateSDPRecord *
* 38)DeleteSDPRecord *
* 39)AddSDPAttribute *
* 40)DeleteSDPAttribute *
* 41)EnableBluetoothDebug *
* 42)RegisterAuthentication *
* 43)UnRegisterAuthentication *
* 44)PINCodeResponse *
* 45)PassKeyResponse *
* 46)UserConfirmationResponse *
* 47)ChangeSimplePairingParameters *
* 48)SendRawHCICommand *
* 49)Connect *
* 50)Disconnect *
* 51)dir *
* 52)cd *
* 53)mkdir *
* 54)rmdir *
* 55)del *
* 56)put *
* 57)get *
* 58)mkfile *
* 59)abort *
* 60)ldir *
* Help, Quit. *
******************************************************************
FTPM>Initialize 1
BTPM_Initialize() Success: 0.
DEVM_RegisterEventCallback() Success: 5.
FTPM>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_11.8.32.bts.
Status: BTS Script successfully executed.
DEVM_PowerOnDevice() Success: 0.
FTPM>
Device Powered On.
FTPM>RegisterAuthentication
DEVM_RegisterAuthentication() Success: 5.
FTPM>Connect 7802F8CF877A 1 0
FTPM_Open_Remote_File_Server() was successful.
FTPM>
Remote Device Properties Changed.
BD_ADDR: 7802F8CF877A
Device Flags: 0x800001CD
Connect State: TRUE
FTPM>
etFTPMConnectConfirmation, FTPConnectionID: 0x0001, Status 0x0002
BD_ADDR: 7802F8CF877A
FTPM>
Remote Device Properties Changed.
BD_ADDR: 7802F8CF877A
Device Flags: 0x80000185
Connect State: FALSE
FTPM>dir
You must open an FTP Client before issuing this command.
Function Error.
2.Any one tried please suggest me.
Thanks
veera