Add Write command to the gattc implementaitons (windows hat already one)#205
Add Write command to the gattc implementaitons (windows hat already one)#205Fabianexe wants to merge 1 commit intotinygo-org:devfrom
Conversation
The quickest way to get this change merged is to only send tested code. If you can't test on Linux or with the SoftDevice, I suggest leaving those implementations out. |
|
I have put the from me testet Mac part into a new PR #212 I am not sure what to do with this PR. |
|
@Fabianexe looks like the code needs to be Also, does the newly merged #216 change anything in your implementation? |
|
Yes this PR will need to be updated after #216. |
|
Hello @Fabianexe are you still working on this PR? Thanks! |
|
Hi, |
This tries to solve issue #153 and add a Write function to all gattc implementations (windows hat already one).
I am on a Mac and the Darwin implementation works fine for me.
The linux implementation is taken form @aykevl comment.
For sd implementation I have looked in the api reference and it seems like the simple change form
WRITE_CMDtoWRITE_REQdoes the trick.However, I have no possibility to test the linux or sd implementation properly.
Thus, it would be welcome if somebody else could verify that they work es attended.