1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <stdint.h> 4 5 #include "../gsmtap_util.h" 6 #include <talloc.h> 7 8 struct modem { 9 int foo; 10 }; 11 12 int main() { 13 uint8_t data[1024] = { 0, 1, 2, 3, 4 }; 14 int ret = gsmtap_enable("127.0.0.1"); 15 printf("gsmtap enable: %d\n", ret); 16 gsmtap_send(NULL, data, sizeof(data)); 17 18 return 0; 19 } 20
This page was automatically generated by LXR 0.3.1. • OpenWrt