Martin Preuss
0ac20ba82c
aqhome-nodes: send heartbeat message to interface every 2mins.
...
e02 now expects this message. If for at least 10mins no such msg is
received the USB interface is reset.
2026-04-27 16:01:12 +02:00
Martin Preuss
9b10e454a9
avr: fixed apidoc.
2026-04-27 00:40:39 +02:00
Martin Preuss
74e471ef28
avr: guard with precompiler directives.
2026-04-26 12:47:50 +02:00
Martin Preuss
240624c727
avr: added README.
2026-04-26 12:47:14 +02:00
Martin Preuss
8c567c3a87
avr: adapted to latest changes.
2026-04-21 00:00:51 +02:00
Martin Preuss
3bf327bb2d
avr: fixed calls for 64K ATmega.
2026-03-17 00:01:23 +01:00
Martin Preuss
8085043ef6
extended memstats message and handling.
2026-03-17 00:00:38 +01:00
Martin Preuss
6d3a27977a
avr: added time message
2026-03-15 20:24:48 +01:00
Martin Preuss
6c83991df7
avr: added NETMSG_Debug_Write2 (sends bytes from a buffer)
2026-03-15 20:23:49 +01:00
Martin Preuss
2f570ea110
gui2: more work. SensorWatch doesn't fully work, yet (also red background).
2026-03-12 00:37:44 +01:00
Martin Preuss
9caf468b86
avr: daily clear more stats.
2025-10-23 20:59:42 +02:00
Martin Preuss
68829f6428
add comments.
2025-09-22 20:26:30 +02:00
Martin Preuss
5bfb49d9e1
simplified code, remove unused code.
2025-08-25 11:25:30 +02:00
Martin Preuss
127525e3ec
buffer: gather statistics
2025-08-25 10:23:47 +02:00
Martin Preuss
6e062d3f60
improve stats reporting
...
now again use three messages to transmit stats (much more efficient than
sending single values, also more acurate).
2025-08-25 10:22:05 +02:00
Martin Preuss
9b1badb310
avr: introduce reference counter for network buffers.
2025-08-18 18:03:24 +02:00
Martin Preuss
66b298d977
guard some changes on network data with CLI.
2025-07-20 23:15:46 +02:00
Martin Preuss
4a5ba97b85
increase buffer size.
2025-07-19 09:46:06 +02:00
Martin Preuss
3cd23d5f60
reduce size of net buffers from 32 to 28.
...
allows us to use 10 buffers in R05.
2025-07-12 00:21:47 +02:00
Martin Preuss
c1ea4212f2
Moved NET_BUFFERS_SIZE to network/defs.asm
...
- Changing this value requires changing the routine NET_Buffer_Locate
so its best to keep both in one module.
- Redefining it in the individual devices doesn't change the code in
NET_Buffer_Locate
2025-07-11 23:25:10 +02:00
Martin Preuss
cbd498150f
avr: fully implemented router functionality in network and router app.
2025-07-07 16:05:53 +02:00
Martin Preuss
d242d63c2e
disable irqs when releasing buffer.
2025-07-06 14:39:48 +02:00
Martin Preuss
c540135705
fixed a bug.
2025-07-06 14:37:10 +02:00
Martin Preuss
734c237666
sort counters to simplify stats app.
2025-07-06 14:36:50 +02:00
Martin Preuss
a89b875872
avr: added NET_Interface_ResetStats and call it daily.
2025-06-16 23:29:18 +02:00
Martin Preuss
3582659018
added more bigcall/bigjmp as we go along with larger code.
2025-06-02 01:02:06 +02:00
Martin Preuss
bb14dd4c22
introduce macros bigjmp and bigcall for intermodule calls/jmps
...
translates to rjmp/rcall on MCUs with up to 8K flash and to jmp/call
on others.
2025-06-01 19:18:25 +02:00
Martin Preuss
0b8cb929b7
split uart_bitbang2 into multiple files.
2025-05-30 17:03:35 +02:00
Martin Preuss
dff347bcb7
created pong message.
2025-05-29 20:23:44 +02:00
Martin Preuss
550967c176
memstats: send XRAM size instead of stack size.
2025-05-17 14:24:04 +02:00
Martin Preuss
27a0214b5d
removed old COM2 parts from code.
2025-05-17 13:16:46 +02:00
Martin Preuss
2ac090cf14
some fixes.
2025-05-04 03:34:48 +02:00
Martin Preuss
46b24bf442
avr/modules/network: disable interrupts on alloc/release.
2025-05-04 03:34:11 +02:00
Martin Preuss
c1a67a36ef
avr/modules/network: added messages.
2025-04-29 00:36:20 +02:00
Martin Preuss
b21c111aa3
network: fixed vars.
2025-04-26 11:04:41 +02:00
Martin Preuss
b9419520f4
network: removed duplicate code.
2025-04-26 11:04:28 +02:00
Martin Preuss
b995f1c3fb
added more messages.
2025-04-21 00:43:11 +02:00
Martin Preuss
77e573192e
more work on network interface.
2025-04-21 00:39:19 +02:00
Martin Preuss
924c4d27e8
avr: added network/msg/crc.asm
2025-03-25 00:38:42 +01:00
Martin Preuss
ebce002614
avr: share code.
2025-03-23 01:08:33 +01:00
Martin Preuss
373a553ac8
avr/uart_hw: basically works for a while then stops...
2025-03-21 20:55:50 +01:00
Martin Preuss
cc64f793ec
build: add missing files.
2025-03-18 22:55:08 +01:00
Martin Preuss
f1f24168e5
t03: send memory stats.
2025-02-14 22:45:49 +01:00
Martin Preuss
d5d6217c5e
avr: added NET_Interface_AddOrReleaseOutMsg and NET_Interface_GetNumOfOutgoingMsgNums
2025-02-14 22:43:24 +01:00
Martin Preuss
b60de3994c
avr: added routine to count used buffers. fixed a bug.
2025-02-14 22:42:46 +01:00
Martin Preuss
6e25647c0a
avr: echoing messages via tty now basically works.
2025-02-13 23:52:55 +01:00
Martin Preuss
a7990db831
avr: t03 can now send and receive messages!
...
will change other nodes from com2 interface to new network interface.
2025-02-13 18:56:13 +01:00
Martin Preuss
bf61be029e
avr: introduced network module
...
this will be the base module for network modules.
2025-02-13 01:12:29 +01:00