patdie421 / mea-edomus

Automatically exported from code.google.com/p/mea-edomus
0 stars 0 forks source link

XBEE : traitement asynchrone des réponses des xbee. #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Ajouter un système de traitement asynchrone des réponses des xbee.

Réponse traiter par un call back (lancé dans un thread) dès réceptions.

Original issue reported on code.google.com by patrice....@gmail.com on 29 Oct 2013 at 11:55

GoogleCodeExporter commented 9 years ago

Original comment by patrice....@gmail.com on 3 Nov 2013 at 9:57

GoogleCodeExporter commented 9 years ago
ecrire une fonction
int16_t xbee_atCmdSendAsyncResp(xbee_xd_t *xd,
                                xbee_host_t *destination,
                                unsigned char *frame_data,
                                uint16_t l_frame_data,
                                void (*callback)(unsigned char *resp, uint16_t l_resp),
                                int16_t *xbee_err)
La fonction callback étant en charge de traiter la réponse.

Original comment by patrice....@gmail.com on 21 Nov 2013 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by patrice....@gmail.com on 21 Nov 2013 at 4:59