• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Bluetooth Functions
#5
I investigated the problem and finally I found a solution: resetting the BCM chip physically before initializing the firmware is the key point

This is enabled by a tool called vcmailbox coming from Raspbian userland space.

The usage is the following: 

$ /opt/vc/bin/vcmailbox 0x38041 8 8 128 0

$ sleep 1
$ /opt/vc/bin/vcmailbox 0x38041 8 8 128 1
$ sleep 1

after that the standard command

$ hciattach /dev/ttyAMA0 bcm43xx 921600 noflow

can be called as usual and will succeed in all cases seen so far.

The vcmailbox binary can be received from here. It needs access to the device /dev/vcio. So make sure you expose it when you start your updated container.

Our bluetooth reference implementation container has been updated already.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
[SOLVED] Bluetooth Functions - by Jonas.Sellmann@outlook.de - September-14th-2018, 10:46 AM
RE: Bluetooth Functions - by Armin@netPI - September-14th-2018, 10:55 AM
RE: Bluetooth Functions - by Jonas.Sellmann@outlook.de - September-17th-2018, 11:06 AM
RE: Bluetooth Functions - by Armin@netPI - September-17th-2018, 03:00 PM
RE: Bluetooth Functions - by Armin@netPI - September-21st-2018, 11:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Bluetooth testing DSongra 6 3,809 April-29th-2021, 06:08 AM
Last Post: DSongra
  HilscherAutomation / netPI-bluetooth entrypoint.sh error bbaskii 6 4,464 September-14th-2020, 04:42 PM
Last Post: bbaskii
  Bluetooth Access MGharat 10 9,023 February-25th-2020, 12:58 PM
Last Post: DSongra
  [SOLVED] Help with fieldbus node Farani 5 4,201 August-20th-2019, 07:22 AM
Last Post: Armin@netPI
  [SOLVED] How to update firmware philippbruhin.ch 12 9,761 July-16th-2019, 11:20 AM
Last Post: patrick
  [SOLVED] Docker issues AlexRegev 7 5,478 June-26th-2019, 02:14 PM
Last Post: AlexRegev
  [SOLVED] Diagnostic service MGharat 1 2,042 April-2nd-2019, 09:45 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-DIDO MGharat 2 6,411 March-13th-2019, 06:06 AM
Last Post: MGharat
  [SOLVED] Access problems Azzamjj 8 7,394 January-25th-2019, 07:43 AM
Last Post: Armin@netPI
  [SOLVED] Portainer.IO. cannot log in JZijlstra 2 3,594 January-10th-2019, 06:04 PM
Last Post: JZijlstra

Forum Jump:


Users browsing this thread: 1 Guest(s)