This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USB commands

It appears that when the Dongle originally ships the Bluetooth advertiser is switched off. 

ok i understand to download all kinds of software or some kinds of it to turn the Dongle on so I will see it on my Bluetooth network.

however, strangely as the problem seems I only own an iPad ( with all the Nordic Apps ) and they provide enough of the service I need    [ that is once it is on ] 

so the question I am seeking - is there a command or sequence of commands I can send from Telnet to the USB so I can turn the devices Bluetooth on and off?

Parents
  • No I think your direction is right - I am using it for development reasons. The issue I surmise is that once the Bluetooth can be pick up on a network ( I.E. transmission switch on ) I can proceed with the development from my iPad via the nRF Connect App for Apple 

  • SKOG said:
    The issue I surmise is that once the Bluetooth can be pick up on a network

     The dongle doesn't scan anything, and there is no pre-programmed commands that you can use with the dongle. If you want the dongle to do something, you must write an application for the dongle.

    I.e. if you want the dongle to scan for Bluetooth Low Energy devices nearby, and list the advertisements, then you need to write an application using the SDK, which enables the softdevice, and starts scanning. Whenever this application receives an advertisement, you then need to decide what you want to do with it. If you want it to send the advertising packet to the computer via USB, your application needs to do that. If you then want to be able to receive commands from the computer that says "Start scanning", "Stop scanning", "connect to this device" then you need to implement these commands.

    Do I misunderstand your question? If so, can you explain in detail what you want to do? Because unfortunately, it is not clear for me.

    Best regards,

    Edvin

Reply
  • SKOG said:
    The issue I surmise is that once the Bluetooth can be pick up on a network

     The dongle doesn't scan anything, and there is no pre-programmed commands that you can use with the dongle. If you want the dongle to do something, you must write an application for the dongle.

    I.e. if you want the dongle to scan for Bluetooth Low Energy devices nearby, and list the advertisements, then you need to write an application using the SDK, which enables the softdevice, and starts scanning. Whenever this application receives an advertisement, you then need to decide what you want to do with it. If you want it to send the advertising packet to the computer via USB, your application needs to do that. If you then want to be able to receive commands from the computer that says "Start scanning", "Stop scanning", "connect to this device" then you need to implement these commands.

    Do I misunderstand your question? If so, can you explain in detail what you want to do? Because unfortunately, it is not clear for me.

    Best regards,

    Edvin

Children
No Data
Related