Closed ljcp closed 7 years ago
well , i enter to bluetoothctl and i did
power on scan on pair android:address
and now is connected but every time i restart the pi i had to power on and connect to my android device
and so far the fm is not working , the systemctl status mpradio , looks fine , anyother logs to check ? thank you
Hello As for the 1st question: Could you try if manually issuing the following commands is making your Pi visible and pairable? /usr/bin/sudo -u pi -s pulseaudio -D hciconfig hci0 piscan if that so, i might think the play_storage() function isn't being invoked, and therefore init() neither. In that case, you could: 1) connect a usb key containing at least one mp3 track 2) patch the code for invoking init() somewhere else, like in the main function. but for now, just let me know how it goes with those commands.
As for the 2nd question: by default, the pi should be broadcasting on FM 88.8 and you should plug a wire on the 4th pin to function as antenna (like so http://www.skagmo.com/temp/content/projects/22_pihat/img/gpio_1200.jpg )
thank you for the response , going to try it !
I look at your code more closely and running
it worked just fine 👍 , if I'm using Spotify and I pause it too long or too fast, the process hangs and needs to be re-run again the command , not sure if you handle that case in your C code ,
./bluetooth neverworked for me mpradio neither so i just grabbed the command
so i'm thinking on doing a new python
thank you
well, step 2 is interactive that's why we wanted to avoid it... anyways, keep me updated if you come up with something interesting bye
i think i found what was wrong:
Hi there great project,
I have a fresh install of
RASPBIAN STRETCH LITE Minimal image based on Debian Stretch Version:September 2017 Release date:2017-09-07 Kernel version:4.9 Release notes:Link
I run the install/install.sh
gcc -Wall -std=gnu99 -c -g -O3 -march=armv6 -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=1 control_pipe.c gcc -Wall -std=gnu99 -c -g -O3 -march=armv6 -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=1 mailbox.c gcc -o pi_fm_rds rds.o waveforms.o mailbox.o pi_fm_rds.o fm_mpx.o control_pipe.o -lm -lsndfile Installation completed! Rebooting in 10 seconds...
it reboots but i'm not seeing any device to pair in my android Bluetooth menu , any insights on to troubleshoot it ?
thank you in advance