Search found 5 matches

by CascadingStatic
Sat Jul 06, 2024 6:09 pm
Forum: ESP-IDF
Topic: RTOS & BLE: nimble_port_run() is blocking; how to advertise constantly with own concurrent functionality?
Replies: 3
Views: 1078

Re: RTOS & BLE: nimble_port_run() is blocking; how to advertise constantly with own concurrent functionality?

I'm not sure I get what your problem actually is. Yes, nimble_port_run() loops processing BLE events until NimBLE is stopped. That's why nimble_port_freertos_init(...) internally creates a new task dedicated to running this loop. When started, advertising also runs "in the background", concurrently...
by CascadingStatic
Sat Jul 06, 2024 1:05 am
Forum: ESP-IDF
Topic: RTOS & BLE: nimble_port_run() is blocking; how to advertise constantly with own concurrent functionality?
Replies: 3
Views: 1078

RTOS & BLE: nimble_port_run() is blocking; how to advertise constantly with own concurrent functionality?

Hello all. I'm a bit new to BLE/real-world RTOS functionality and would really appreciate your help. MY PROBLEM: nimble_port_run(), which enables BLE functionality and makes my ESP BLE server accessible, blocks until nimble_port_stop() is called elsewhere. I need to be able to constantly advertise u...
by CascadingStatic
Sun Feb 18, 2024 6:21 pm
Forum: ESP-IDF
Topic: Struggles with INMP441 -- i2s connects; zeroed data!
Replies: 5
Views: 1467

Re: Struggles with INMP441 -- i2s connects; zeroed data!

I am extremely stupid and had integrated problems with my samples handling when porting my code that I mistook for hardware out of lack of thoroughness. I didn't spot it because I am a fool and was likely lucky before getting something working and you both have my sincere apologies for wasting your ...
by CascadingStatic
Sun Feb 18, 2024 3:30 pm
Forum: ESP-IDF
Topic: Struggles with INMP441 -- i2s connects; zeroed data!
Replies: 5
Views: 1467

Re: Struggles with INMP441 -- i2s connects; zeroed data!

Okay, the fact that you 1. previously had the code working, and 2. rolling back to a known-working earlier version also results in breakage indicate you have a hardware issue. However, you replacing everything already means you tried the easier bits of troubleshooting. Is there any way you can buy/...
by CascadingStatic
Sat Feb 17, 2024 7:01 pm
Forum: ESP-IDF
Topic: Struggles with INMP441 -- i2s connects; zeroed data!
Replies: 5
Views: 1467

Struggles with INMP441 -- i2s connects; zeroed data!

Hello all. I apologise for anything lacking in my explanation/request for help; I have tried to be thorough; I'm a junior and have no recourse to assistance/advice in my company. I finally got my setup working after adapting some I2S code -- reading the mic, FFTing it etc accurately to a pure tone p...