summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/cell_data.c
blob: 6732346472b7c90c82077b9044fa5fbc96a226e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdlib.h>

#include <esp_log.h>

#include "eos.h"
#include "cell.h"

void eos_cell_data_handler(unsigned char mtype, unsigned char *buffer, uint16_t size) {
    int rv;

    rv = eos_modem_take(1000);
    if (rv) return;

    buffer += 1;
    size -= 1;
    switch (mtype) {
    }

    eos_modem_give();
}