summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/cell_voice.c
blob: 3f6a2a508e39f5b134d0234563052f2157204dbb (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_voice_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();
}