tioruben / vedirect-antbms Goto Github PK
View Code? Open in Web Editor NEWA VE-Direct and ANT-BMS monitor for Li-ion solar setups
A VE-Direct and ANT-BMS monitor for Li-ion solar setups
compilation error, see full log
[ 84%] Building C object esp-idf/freemodbus/CMakeFiles/__idf_freemodbus.dir/tcp_slave/modbus_controller/mbc_tcp_slave.c.obj /home/livello/PROG/vedirect-antbms/main/bluetooth.c:5:10: fatal error: esp_bt.h: No such file or directory #include "esp_bt.h" ^~~~~~~~~~ compilation terminated.
I do not have VE MPPT Solar device. Just Chinese AntBMS. My goal is to get state from bms and to control flatpack2 psu charge current by adjust it's voltage in order of temperature.
I changed Ant BMS mac address. Can not connect via bluetooth.
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6612
load:0x40078000,len:14780
load:0x40080400,len:3792
entry 0x40080694
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6612
load:0x40078000,len:14780
load:0x40080400,len:3792
entry 0x40080694
␛[0;32mI (26) boot: ESP-IDF v4.4-dirty 2nd stage bootloader␛[0m
␛[0;32mI (26) boot: compile time 13:54:28␛[0m
␛[0;32mI (26) boot: chip revision: 1␛[0m
␛[0;32mI (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0␛[0m
␛[0;32mI (37) boot.esp32: SPI Speed : 40MHz␛[0m
␛[0;32mI (41) boot.esp32: SPI Mode : DIO␛[0m
␛[0;32mI (46) boot.esp32: SPI Flash Size : 4MB␛[0m
␛[0;32mI (50) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (56) boot: Partition Table:␛[0m
␛[0;32mI (59) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (67) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (74) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (82) boot: 2 factory factory app 00 00 00010000 00200000␛[0m
␛[0;32mI (89) boot: End of partition table␛[0m
␛[0;32mI (93) boot_comm: chip revision: 1, min. application chip revision: 0␛[0m
␛[0;32mI (100) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=42d84h (273796) map␛[0m
␛[0;32mI (208) esp_image: segment 1: paddr=00052dac vaddr=3ffbdb60 size=055d8h ( 21976) load␛[0m
␛[0;32mI (217) esp_image: segment 2: paddr=0005838c vaddr=40080000 size=07c8ch ( 31884) load␛[0m
␛[0;32mI (230) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=f6ad4h (1010388) map␛[0m
␛[0;32mI (596) esp_image: segment 4: paddr=00156afc vaddr=40087c8c size=169d0h ( 92624) load␛[0m
␛[0;32mI (634) esp_image: segment 5: paddr=0016d4d4 vaddr=400c0000 size=00064h ( 100) load␛[0m
␛[0;32mI (635) esp_image: segment 6: paddr=0016d540 vaddr=50000000 size=00010h ( 16) load␛[0m
␛[0;32mI (655) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (655) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (667) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (667) cpu_start: Starting app cpu, entry point is 0x400813ec␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
␛[0;32mI (683) cpu_start: Pro cpu start user code␛[0m
␛[0;32mI (683) cpu_start: cpu freq: 160000000␛[0m
␛[0;32mI (683) cpu_start: Application information:␛[0m
␛[0;32mI (688) cpu_start: Project name: main␛[0m
␛[0;32mI (692) cpu_start: App version: 80db950-dirty␛[0m
␛[0;32mI (698) cpu_start: Compile time: Feb 11 2022 14:03:19␛[0m
␛[0;32mI (704) cpu_start: ELF file SHA256: 98fa7b4448c31ce1...␛[0m
␛[0;32mI (710) cpu_start: ESP-IDF: v4.4-dirty␛[0m
␛[0;32mI (715) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
␛[0;32mI (722) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM␛[0m
␛[0;32mI (728) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM␛[0m
␛[0;32mI (735) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM␛[0m
␛[0;32mI (741) heap_init: At 3FFCE3D8 len 00011C28 (71 KiB): DRAM␛[0m
␛[0;32mI (747) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (753) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
␛[0;32mI (760) heap_init: At 4009E65C len 000019A4 (6 KiB): IRAM␛[0m
␛[0;32mI (767) spi_flash: detected chip: generic␛[0m
␛[0;32mI (770) spi_flash: flash io: dio␛[0m
␛[0;32mI (776) cpu_start: Starting scheduler on PRO CPU.␛[0m
␛[0;32mI (0) cpu_start: Starting scheduler on APP CPU.␛[0m
I (856) wifi:wifi driver task: 3ffd3944, prio:23, stack:6656, core=0
␛[0;32mI (856) system_api: Base MAC address is not set␛[0m
␛[0;32mI (856) system_api: read default base MAC address from EFUSE␛[0m
I (876) wifi:wifi firmware version: 7679c42
I (876) wifi:wifi certification version: v7.0
I (876) wifi:config NVS flash: enabled
I (876) wifi:config nano formating: disabled
I (876) wifi:Init data frame dynamic rx buffer num: 32
I (886) wifi:Init management frame dynamic rx buffer num: 32
I (886) wifi:Init management short buffer num: 32
I (896) wifi:Init dynamic tx buffer num: 32
I (896) wifi:Init static rx buffer size: 1600
I (896) wifi:Init static rx buffer num: 10
I (906) wifi:Init dynamic rx buffer num: 32
␛[0;32mI (906) wifi_init: rx ba win: 6␛[0m
␛[0;32mI (916) wifi_init: tcpip mbox: 32␛[0m
␛[0;32mI (916) wifi_init: udp mbox: 6␛[0m
␛[0;32mI (916) wifi_init: tcp mbox: 6␛[0m
␛[0;32mI (926) wifi_init: tcp tx win: 5744␛[0m
␛[0;32mI (926) wifi_init: tcp rx win: 5744␛[0m
␛[0;32mI (936) wifi_init: tcp mss: 1440␛[0m
␛[0;32mI (936) wifi_init: WiFi IRAM OP enabled␛[0m
␛[0;32mI (936) wifi_init: WiFi RX IRAM OP enabled␛[0m
␛[0;32mI (946) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07␛[0m
I (1046) wifi:mode : sta (80:7d:3a:81:0d:98)
I (1046) wifi:enable tsf
␛[0;32mI (1046) WIFI: wifi_init_sta finished.␛[0m
I (1056) wifi:new:<6,1>, old:<1,0>, ap:<255,255>, sta:<6,1>, prof:1
I (1066) wifi:state: init -> auth (b0)
I (1066) wifi:state: auth -> assoc (0)
I (1066) wifi:state: assoc -> run (10)
I (1176) wifi:connected with vent, aid = 1, channel 6, 40U, bssid = ec:41:18:50:ab:09
I (1176) wifi:security: WPA2-PSK, phy: bgn, rssi: -70
I (1186) wifi:pm start, type: 1
W (1196) wifi:<ba-add>idx:0 (ifx:0, ec:41:18:50:ab:09), tid:6, ssn:2, winSize:64
I (1256) wifi:AP's beacon interval = 102400 us, DTIM period = 1
␛[0;32mI (1846) esp_netif_handlers: sta ip: 10.20.0.234, mask: 255.255.255.0, gw: 10.20.0.1␛[0m
␛[0;32mI (1846) WIFI: got ip:10.20.0.234␛[0m
␛[0;32mI (1846) WIFI: connected to ap SSID:vent␛[0m
␛[0;32mI (1856) BTDM_INIT: BT controller compile version [6a07b06]␛[0m
␛[0;31mE (4506) MPPT: Block not found in 941 bytes␛[0m
␛[0;31mE (4506) MPPT: Block not found in 941 bytes␛[0m
␛[0;31mE (6516) MPPT: Block not found in 941 bytes␛[0m
␛[0;31mE (6516) MPPT: Block not found in 941 bytes␛[0m
␛[0;33mW (7606) BT_SDP: SDP - Rcvd conn cnf with error: 0x4 CID 0x40
␛[0m
␛[0;31mE (8516) MPPT: Block not found in 941 bytes␛[0m
I fixed issue #1 and got this error
0;32mI (1869) BTDM_INIT: BT controller compile version [6a07b06]␛[0m
ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x40091f9c
file: "./main/bluetooth.c" line 82
func: bluetoothInit
expression: esp_bt_controller_enable(ESP_BT_MODE_CLASSIC_BT)abort() was called at PC 0x40091f9f on core 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.