bluekitchen / btstack

Dual-mode Bluetooth stack, with small memory footprint.
http://bluekitchen-gmbh.com
Other
1.74k stars 618 forks source link

dont work running example #641

Open Flouzl opened 4 weeks ago

Flouzl commented 4 weeks ago

Describe the bug

hi, I want to use an example on my raspiberry b but it doesn't work

To Reproduce

Steps to reproduce the behavior:

  1. Run ' cd btstack/port/raspi'
  2. Start action './gatt_counter'

Logs

Packet Log: /tmp/hc1_dump.pklg H5, 921600, BT_REG_EN at GPIO 128, Reset Controller Phase 1: Download firmware Download firmware failed

mringwal commented 4 weeks ago

Which Raspberry Pi do you have? Please try after a power cycle.

Please post hci_dump.pklg (you need to .zip it to for upload)

Flouzl commented 3 weeks ago

hi i on raspberry pi 3b what is a power cycle ?

hci_dump.zip

mringwal commented 3 weeks ago

Power Cycle = turn power off, wait, turn it on again.

Roy in 'The IT Crowd': "Have you tried turning it off and on again". https://www.youtube.com/watch?v=5UT8RkSmN4k

mringwal commented 3 weeks ago

The log says "Unable to open port /dev/serial1" Does /dev/serial1 exist on your installation and do you you have the necessary rights to open it?

Did you disable bluez as described in the readme?

Flouzl commented 3 weeks ago

Yes I disble bluez but is dont work and when I import 'btstack.h' the Library not exists