1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #ifndef __main_h__
- #define __main_h__
- #include <stdio.h>
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include <math.h>
- #include "sdk_common.h"
- #include "app_error.h"
- #include "app_uart.h"
- #include "ble_db_discovery.h"
- #include "app_timer.h"
- #include "app_util.h"
- #include "bsp_btn_ble.h"
- #include "ble.h"
- #include "ble_gap.h"
- #include "ble_hci.h"
- #include "nrf_sdh.h"
- #include "nrf_sdh_ble.h"
- #include "nrf_sdh_soc.h"
- #include "ble_nus_c.h"
- #include "nrf_ble_gatt.h"
- #include "nrf_pwr_mgmt.h"
- #include "nrf_ble_scan.h"
- #include "nrf_log.h"
- #include "nrf_log_ctrl.h"
- #include "nrf_log_default_backends.h"
- #include "SEGGER_RTT.h"
- #include "nrf_power.h"
- #include "peer_manager.h"
- #include "peer_manager_handler.h"
- #include "usr_config.h"
- void process_motion(int32_t time_stamp, int16_t _acc[3], int16_t _gry[3], int16_t front_mag[3], int16_t back_mag[3], uint8_t _rssi);
- void send_protocol(uint8_t index,uint8_t cmd,uint8_t* p,uint8_t datLen);
- void gpio_mt_run(uint32_t tim);
- #endif
|