Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Enabling default passkey and legacy pin in Bluetooth: (1 Item)
   
Enabling default passkey and legacy pin in Bluetooth  
Hi,

I do not want the QNX Car system to ask for a pin and confirmation I want to set the default pin to 0000 so that when 
the android phone sees this system it can automatically connect without asking for the pin.I am using below commands to 
set the default and legacy pin and to authorize the phone but these commands are not working

echo "command::set_legacy_pin\ndata::65:3C:4F:D0:C9:88\ndata2::n:0000" >> /pps/services/bluetooth/control
echo "command::set_passkey\ndata::65:3C:4F:D0:C9:88\ndata2::n:0000" >> /pps/services/bluetooth/control
echo "command::user_confirm\ndata::65:3C:4F:D0:C9:88\ndata2::b:true" >> /pps/services/bluetooth/control