Page 3 of 3
Re: NXC: BT send from slave to master
Posted: 28 Feb 2012, 20:59
by mcsummation
I looked at the code you posted in the attachment and didn't see anything I would identify as a "semaphore". (I did see some mutexes.) What code are you using for a semaphore?
Re: NXC: BT send from slave to master
Posted: 29 Feb 2012, 08:20
by HaWe
as semaphores I use global variables which are set by/for independend tasks to indicate that a message for a remote job has to be sent or that a remote job has been finished and which are reset after that transmission. Just call them simply "global variables", it's actuallly nothing else.