atsign-foundation / at_c

Experimental cross-platform C implementation of the atSDK for SOC & embedded devices
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

fix: notify commands that are >4096 bytes #258

Closed JeremyTubongbanua closed 2 weeks ago

JeremyTubongbanua commented 2 weeks ago

- What I did notify fixes & refactors

static int generate_cmd(const atclient_notify_params *params, const char *cmdvalue, const size_t cmdvaluelen,
                        char **ocmd, size_t *ocmdolen);
static size_t calculate_cmd_size(const atclient_notify_params *params, const size_t cmdvaluelen, size_t *atkeyolen,
                                 unsigned long long *ottln, size_t *medatastrolen);

NEW base64 stuff

Chore stuff:

- How I did it

- How to verify it

- Description for the changelog fix: notify command >4096 bytes