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

bluetooth connection reset and got error 133 writing characteristics

i am using example code ble_uart for controlling gpio(led & buzzer) by editing bluetooth data handler. I am driving a buzzer using pwm.

led working fine i.e turned on/off by sending specific value from nrftoolbox uart app.

but for buzzer when i first turn it on by sending '2' on app it turned on for 3sec as written in code after that i set duty cycle 100 to turn off pwm which in turn close buzzer. Problem arises when i try to re run buzzer by sending '2' from app its reset bluetooth connection from board and get error on app 133 writing characteristic.

i think its something due to pwm.i am adding code snippet to help you understand.

Parents Reply Children
No Data
Related