I have read these the following posts:
devzone.nordicsemi.com/.../ devzone.nordicsemi.com/.../
But, most of the answers are quite old. I am wondering if the solution to send multiple notifications is still an valid answer.
Thank you.
I have read these the following posts:
devzone.nordicsemi.com/.../ devzone.nordicsemi.com/.../
But, most of the answers are quite old. I am wondering if the solution to send multiple notifications is still an valid answer.
Thank you.
Hi Jack,
Short answer is YES.
Long answer follows:
Cheers Jan
TCP/IP, like srsly???:) I assume you will be using some "self-consistent" protocol on top of GATT anyway (e.g. there will be some length indicators or even integrity checks based on some CRC/hash/crypto signature scheme). But if you are sure that data formatting is completely free and up to you, then simply use some light-weight protocol used in other embedded systems. E.g. Host Control Protocol (HCP) or something even simpler: dedicate part of each "fragment" to "header" and indicate if this is last fragment or not. If there will be any issue it will anyway break the link so you don't need to care about anything else then case where receiver would be processing incomplete data. If your use case has no natural "session" management (e.g. that one side would be sending commands and then waiting for response) then you can (to be continued...)
TCP/IP, like srsly???:) I assume you will be using some "self-consistent" protocol on top of GATT anyway (e.g. there will be some length indicators or even integrity checks based on some CRC/hash/crypto signature scheme). But if you are sure that data formatting is completely free and up to you, then simply use some light-weight protocol used in other embedded systems. E.g. Host Control Protocol (HCP) or something even simpler: dedicate part of each "fragment" to "header" and indicate if this is last fragment or not. If there will be any issue it will anyway break the link so you don't need to care about anything else then case where receiver would be processing incomplete data. If your use case has no natural "session" management (e.g. that one side would be sending commands and then waiting for response) then you can (to be continued...)