通过初步测试阶段,已经可以显示当前坐标,修改了蓝牙基站数量的逻辑。
| | |
| | | <h2>Output:</h2> |
| | | *** Using Compiler 'V6.14', folder: 'D:\keil\ARM\ARMCLANG\Bin' |
| | | Build Project 'uwb_simple_example' - Target 'MK8000 Release' |
| | | compiling lora_3029.c... |
| | | linking... |
| | | D:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX - BT-zuixinceshi\keil\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION). |
| | | Program Size: Code=74028 RO-data=9452 RW-data=1628 ZI-data=28056 |
| | | Program Size: Code=74060 RO-data=9452 RW-data=1628 ZI-data=28064 |
| | | Finished: 0 information, 1 warning and 0 error messages. |
| | | FromELF: creating hex file... |
| | | After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX - BT-zuixinceshi\keil\Objects\uwb_simple_example.axf" |
| | |
| | | D:\keil\pack\MKSEMI\MK800X_DFP\1.0.3\Device\Include |
| | | |
| | | <h2>Collection of Component Files used:</h2> |
| | | Build Time Elapsed: 00:00:03 |
| | | Build Time Elapsed: 00:00:02 |
| | | </pre> |
| | | </body> |
| | | </html> |
| | |
| | | <title>Static Call Graph - [.\Objects\uwb_simple_example.axf]</title></head> |
| | | <body><HR> |
| | | <H1>Static Call Graph for image .\Objects\uwb_simple_example.axf</H1><HR> |
| | | <BR><P>#<CALLGRAPH># ARM Linker, 6140002: Last Updated: Mon Feb 24 16:24:38 2025 |
| | | <BR><P>#<CALLGRAPH># ARM Linker, 6140002: Last Updated: Tue Feb 25 15:56:35 2025 |
| | | <BR><P> |
| | | <H3>Maximum Stack Usage = 2076 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> |
| | | Call chain for Maximum Stack Depth:</H3> |
| | |
| | | <BR><BR>[Called By]<UL><LI><a href="#[99]">>></a> LoraReportPoll |
| | | </UL> |
| | | |
| | | <P><STRONG><a name="[99]"></a>LoraReportPoll</STRONG> (Thumb, 812 bytes, Stack size 136 bytes, lora_3029.o(.text.LoraReportPoll)) |
| | | <P><STRONG><a name="[99]"></a>LoraReportPoll</STRONG> (Thumb, 832 bytes, Stack size 136 bytes, lora_3029.o(.text.LoraReportPoll)) |
| | | <BR><BR>[Stack]<UL><LI>Max Depth = 528<LI>Call Chain = LoraReportPoll ⇒ LoraHeartBeartPoll ⇒ LORA_3029_SINGLE_SEND ⇒ rf_single_tx_data ⇒ rf_get_tx_time ⇒ rf_get_preamble ⇒ rf_read_spec_page_regs ⇒ rf_switch_page ⇒ rf_write_reg ⇒ rf_read_reg |
| | | </UL> |
| | | <BR>[Calls]<UL><LI><a href="#[98]">>></a> Checksum_u16 |
| | |
| | | </UL> |
| | | <BR>[Address Reference Count : 1]<UL><LI> startup_mk800x.o(RESET) |
| | | </UL> |
| | | <P><STRONG><a name="[31]"></a>UsartParseDataHandler</STRONG> (Thumb, 268 bytes, Stack size 1080 bytes, serial_at_cmd_app.o(.text.UsartParseDataHandler)) |
| | | <BR><BR>[Stack]<UL><LI>Max Depth = 1080<LI>Call Chain = UsartParseDataHandler |
| | | <P><STRONG><a name="[31]"></a>UsartParseDataHandler</STRONG> (Thumb, 280 bytes, Stack size 1088 bytes, serial_at_cmd_app.o(.text.UsartParseDataHandler)) |
| | | <BR><BR>[Stack]<UL><LI>Max Depth = 1088<LI>Call Chain = UsartParseDataHandler |
| | | </UL> |
| | | <BR>[Calls]<UL><LI><a href="#[42]">>></a> __aeabi_memclr |
| | | <LI><a href="#[9f]">>></a> __aeabi_memcpy |
| | |
| | | I (include\drivers\mk_dma.h)(0x672473BD)
|
| | | I (include\drivers\mk_misc.h)(0x67206CDC)
|
| | | I (include\drivers\mk_clock.h)(0x67206CDC)
|
| | | F (.\include\drivers\serial_at_cmd_app.c)(0x67B59A1C)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/drivers -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/serial_at_cmd_app.o -MD)
|
| | | F (.\include\drivers\serial_at_cmd_app.c)(0x67BD6138)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/drivers -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/serial_at_cmd_app.o -MD)
|
| | | I (include\drivers\serial_at_cmd_app.h)(0x672050F0)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | | I (include\drivers\global_param.h)(0x672B0902)
|
| | |
| | | I (include\drivers\mk_gpio.h)(0x67206CDC)
|
| | | I (include\drivers\Usart.h)(0x67B4382E)
|
| | | I (..\keil\lora_3029.h)(0x67BBDB00)
|
| | | F (.\include\main\main.c)(0x67B59611)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/main.o -MD)
|
| | | F (.\include\main\main.c)(0x67BD24F9)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/main.o -MD)
|
| | | I (include\drivers\mk_trace.h)(0x67206CDC)
|
| | | I (include\drivers\mk_common.h)(0x67206CDC)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
|
| | |
| | | I (include\drivers\mk_gpio.h)(0x67206CDC)
|
| | | I (include\drivers\mk_io.h)(0x67206CDC)
|
| | | I (..\keil\lora_3029.h)(0x67BBDB00)
|
| | | F (.\lora_3029.c)(0x67BC2CC3)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/lora_3029.o -MD)
|
| | | F (.\lora_3029.c)(0x67BD6362)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/lora_3029.o -MD)
|
| | | I (..\keil\lora_3029.h)(0x67BBDB00)
|
| | | I (include\drivers\mk_io.h)(0x67206CDC)
|
| | | I (include\drivers\mk_common.h)(0x67206CDC)
|
| | |
| | | // å
头 0x55 0xAA 0x41 |
| | | if (buff[n] == 0x55 && buff[n+1] == 0xAA && buff[n+2] == 0x41) |
| | | { |
| | | report_ancnum_bt=buff[n+4]; |
| | | |
| | | length = buff[n+3]; |
| | | if (n + 6 + report_ancnum_bt * 6 + length > 1024) { |
| | | continue; // å¦ææ°æ®è¶çï¼è·³è¿è¯¥å
|
| | |
| | | |
| | | // å°æ°æ®å¤å¶å° DMA ç¼å²åº |
| | | memcpy(DMA_RXBuf_BT, &buff[n+4], length); |
| | | |
| | | report_ancnum_bt=buff[n+4]; |
| | | // 为äºé¿å
夿¬¡éå¤è§£æåä¸ä¸ªæ°æ®å
ï¼å¯ä»¥å¨è¿éæ·»å è·³è· |
| | | n += 6 + report_ancnum_bt * 6 + length - 1; // è·³è¿å½åæ°æ®å
|
| | | } |
| | |
| | | lora_tx_flag++; |
| | | } |
| | | |
| | | |
| | | //void uart0_receive_callback() |
| | | //{ |
| | | // uint8_t buff[buff_lenth]={0}; |
| | | // uint8_t lenth=0; |
| | | // |
| | | // uart_receive(UART_ID0,Forward_BT_buff,buff_lenth,uart0_receive_callback); |
| | | // memcpy(buff,Forward_BT_buff,1024); |
| | | // for(int n=0;n<1024;n++) |
| | | // { |
| | | // if(buff[n]==0x55) |
| | | // { |
| | | // if(buff[n+1]==0xAA) |
| | | // { |
| | | // if(buff[n+2]==0x41) |
| | | // { |
| | | // lenth=buff[n+4]; |
| | | // memcpy(DMA_RXBuf_BT,&buff[n+4],lenth); |
| | | // } |
| | | // } |
| | | // |
| | | // } |
| | | // } |
| | | // memset(buff, 0, buff_lenth); |
| | | // memset(DMA_RXBuf_BT, 0, buff_lenth); |
| | | // if(buff[0]==0x55||buff[1]==0xAA||buff[2]==0x41) |
| | | // { |
| | | // uint8_t lenth=0; |
| | | // lenth=((buff[4]*2)+(buff[4]*2)+1); |
| | | // memcpy(DMA_RXBuf_BT,&buff[4],lenth); |
| | | // } |
| | | //} |
| | | |
| | | //uint8_t base_station_count = 0; |
| | | //uint8_t last_ids[MAX_BASE_STATIONS] = {0}; |
| | | void uart0_receive_callback() |
| | | { |
| | | uart_receive(UART_ID0,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart0_receive_callback); |
| | | uart_receive(UART_ID0,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart0_receive_callback); |
| | | } |
| | | |
| | | |
| | |
| | | port = g_com_map[TCP_PORT]; |
| | | g_com_map[VERSION] = (1<<8)|11; |
| | | LOG_INFO(TRACE_MODULE_APP,"设å¤ID: %x .\r\n",dev_id); |
| | | LOG_INFO(TRACE_MODULE_APP,"åºä»¶çæ¬:UWB-4Gæç¯ V%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff); |
| | | LOG_INFO(TRACE_MODULE_APP,"åºä»¶çæ¬:BGK-mk+èçV%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff); |
| | | LOG_INFO(TRACE_MODULE_APP,"æå¡å¨å°å: %d.%d.%d.%d:%d.\r\n",ip0,ip1,ip2,ip3,port); |
| | | } |
| | | |
| | |
| | | { |
| | | UART0_CheckReceive(); |
| | | } |
| | | |
| | | int bind_check(void) |
| | | { |
| | | if(g_com_map[BIND_DEV_ID]!=0x00) |
| | |
| | | #define TEST_SPI_INTERUPT_MODE 1 |
| | | #define TEST_SPI_DMA_MODE 2 |
| | | #define TEST_SPI_MODE TEST_SPI_POLL_MODE |
| | | //#define ADC_PIN IO_PIN_0 |
| | | //#define UART0_TX IO_PIN_5 |
| | | //#define UART0_RX IO_PIN_6 |
| | | //#define UART1_TX IO_PIN_1 |
| | | //#define UART1_RX |
| | | |
| | | void Board_gpio_init() |
| | | { |
| | | // SPI0 MOSI/MISO/CLK/CS |
| | | //SPI0/MOSI/MISO/CLK/CS |
| | | io_pin_mux_set(LORA_CS, IO_FUNC0); |
| | | gpio_pin_set_dir(LORA_CS , GPIO_DIR_OUT, 0); |
| | | io_pull_set(LORA_CS, IO_HIGH_Z, IO_PULL_UP_NONE); |
| | |
| | | // //ADC |
| | | // io_pin_mux_set(ADC_PIN, IO_FUNC1); |
| | | // io_pull_set(ADC_PIN, IO_HIGH_Z, IO_PULL_UP_NONE); |
| | | |
| | | //串å£0 |
| | | io_pin_mux_set(UART0_RX, IO_FUNC4); |
| | | io_pin_mux_set(UART0_TX, IO_FUNC4); |
| | | |
| | | board_debug_console_open(TRACE_PORT_UART0); |
| | | // uart_receive(UART_ID0,Forward_BT_buff,buff_lenth,uart0_receive_callback); |
| | | uart_receive(UART_ID0,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart0_receive_callback);//å¼å¯dma |
| | | // uart_receive(UART_ID0,&uart0_buffer,1024,uart0_receive_callback); |
| | | // uart_receive(UART_ID0,DMA_RXBuf_BT,buff_lenth,uart0_receive_callback); |
| | | |
| | | |
| | | //串å£1 |
| | | io_pin_mux_set(UART1_RX, IO_FUNC4); |
| | | io_pin_mux_set(UART1_TX, IO_FUNC4); |
| | |
| | | uint8_t flag_4guart_needinit=0; |
| | | #define TX_LEN 10 |
| | | #define RX_LEN 200 |
| | | uint8_t tx_test_buf[TX_LEN] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; |
| | | |
| | | extern uint8_t RX_Buffer[RX_LEN]; |
| | | extern uint16_t BufferSize; |
| | | static uint16_t source_id; |
| | |
| | | uint8_t tx_buf[5]={0,1,0,1,1}; |
| | | uint32_t sleep_time_count=0; |
| | | uint32_t uwb_ceju_count=0; |
| | | |
| | | //ceshi |
| | | //uint8_t no_rx_flag=0; |
| | | //xtal_38m4_off_time(sleep_time_count); |
| | | /********************************************************************************************************/ |
| | | static void Lora_irq_handler(enum IO_PIN_T pin) |
| | | { |
| | | |
| | | uint16_t checksum1; |
| | | rf_irq_process(); |
| | | // gpio_pin_set(IO_PIN_5);//æµè¯ |
| | | |
| | | no_rx_flag=0; |
| | | tx_flag=rf_get_transmit_flag(); |
| | | recv_flag=rf_get_recv_flag(); |
| | |
| | | extern uint8_t DMA_RXBuf_BT[200]; |
| | | extern uint8_t report_ancnum; |
| | | extern uint8_t report_ancnum_bt; |
| | | uint32_t BT_SEND_flag=0; |
| | | uint8_t BT_NUM=0; |
| | | void LoraReportPoll(void) |
| | | { |
| | | // delay_ms(100); |
| | |
| | | memcpy(&lora_sendbuffer[ANCID_IDX],report_ancid,report_ancnum*2); |
| | | memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum*2],report_ancdist,report_ancnum*2); |
| | | uint8_t LORA_RETRANSNUSSION_BT=0; |
| | | if(0<report_ancnum_bt&&report_ancnum_bt<11) |
| | | BT_NUM=DMA_RXBuf_BT[0]; |
| | | if(0<BT_NUM&&BT_NUM<11) |
| | | { |
| | | lora_sendbuffer[MSG_TYPE_IDX] = LORA_MSGTYPE_TAGMSGTOWG_BT; |
| | | LORA_RETRANSNUSSION_BT=ANCID_IDX+report_ancnum*4; |
| | | //LORA_RETRANSNUSSION_BT report_ancnum_bt |
| | | lora_sendbuffer[LORA_RETRANSNUSSION_BT] = 0x2D; //èçä¸ä¼ æ è¯ç¬¦ |
| | | memcpy(&lora_sendbuffer[LORA_RETRANSNUSSION_BT+1],&DMA_RXBuf_BT[0],report_ancnum_bt*2+1); //åºç«ID |
| | | memcpy(&lora_sendbuffer[LORA_RETRANSNUSSION_BT+report_ancnum_bt*2+2],&DMA_RXBuf_BT[1+report_ancnum_bt*2],report_ancnum_bt*2);//åºç«è·ç¦» |
| | | lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+4*report_ancnum_bt+ANCID_IDX+4; |
| | | memcpy(&lora_sendbuffer[LORA_RETRANSNUSSION_BT+1],&DMA_RXBuf_BT[0],BT_NUM*2+1); //åºç«ID |
| | | memcpy(&lora_sendbuffer[LORA_RETRANSNUSSION_BT+BT_NUM*2+2],&DMA_RXBuf_BT[1+BT_NUM*2],BT_NUM*2);//åºç«è·ç¦» |
| | | lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+4*BT_NUM+ANCID_IDX+2; |
| | | } |
| | | if(lora_sendbuffer[LORA_RETRANSNUSSION_BT]==0x2D) |
| | | { |
| | | checksum = Checksum_u16(lora_sendbuffer,4*report_ancnum_bt+4*report_ancnum+ANCID_IDX+2); |
| | | memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum_bt*4+report_ancnum*4+2],&checksum,2); |
| | | checksum = Checksum_u16(lora_sendbuffer,4*BT_NUM+4*report_ancnum+ANCID_IDX+2); |
| | | memcpy(&lora_sendbuffer[ANCID_IDX+BT_NUM*4+report_ancnum*4+2],&checksum,2); |
| | | BT_SEND_flag++; |
| | | } |
| | | else |
| | | { |
| | | checksum = Checksum_u16(lora_sendbuffer,4*report_ancnum+ANCID_IDX); |
| | | memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum*4],&checksum,2); |
| | | } |
| | | //rf_enter_continous_tx(); |
| | | // LORA_3029_SEND(lora_sendbuffer,ANCID_IDX+report_ancnum*4+2); |
| | | LORA_3029_SINGLE_SEND(lora_sendbuffer,ANCID_IDX+report_ancnum*4+report_ancnum_bt*4+4,0); |
| | | |
| | | |
| | | LORA_3029_SINGLE_SEND(lora_sendbuffer,ANCID_IDX+report_ancnum*4+BT_NUM*4+4,0); |
| | | memset(DMA_RXBuf_BT, 0,200); |
| | | memset(&lora_sendbuffer[ANCID_IDX],0,200); |
| | | // rf_single_tx_data(lora_sendbuffer,ANCID_IDX+report_ancnum*4+2,2); |
| | | //rf_enter_continous_rx(); |
| | | |
| | | //LED_TB_ON; |
| | | // bat_percent=Get_Battary(); |
| | | |
| | | |
| | | for(uint8_t i=0;i<3;i++) |
| | | recnum[i] = 0; |
| | |
| | | <SetRegEntry> |
| | | <Number>0</Number> |
| | | <Key>DLGUARM</Key> |
| | | <Name>d</Name> |
| | | <Name></Name> |
| | | </SetRegEntry> |
| | | <SetRegEntry> |
| | | <Number>0</Number> |
| | |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>report_ancnum_bt</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>22</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>BT_SEND_flag</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>23</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>report_ancnum_bt</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>24</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>DMA_RXBuf_BT</ItemText> |
| | | </Ww> |
| | | </WatchWindow2> |
| | | <MemoryWindow1> |
| | | <Mm> |