Commit Graph

61 Commits

Author SHA1 Message Date
xdrm-brackets 265feabb59 Replaced term_req 0x10 with TERMREQ_OFF flag constant 2017-05-05 13:51:07 +02:00
xdrm-brackets 6848840638 [update] Managing already used ports (so take next, 10 times max) 2017-05-04 17:34:03 +02:00
xdrm-brackets 87ed0fb7c9 [update] removed verbose ping 2017-05-04 13:13:39 +02:00
xdrm-brackets 21cc53bc20 Fixed non verbose enough "cannot get response from plane ..." 2017-05-04 12:25:17 +02:00
SeekDaSky a2ab8d415e Merge remote-tracking branch 'origin/master' 2017-05-04 12:20:24 +02:00
SeekDaSky 54321deca2 CommandTerm v1 + fix timeout 2017-05-04 12:20:21 +02:00
xdrm-brackets d6b2b82116 fixed shitty ping/request output 2017-05-04 12:18:58 +02:00
xdrm-brackets 5b7d7d5c80 [update] verbose timeout set up for udp COM sockets 2017-05-04 12:10:55 +02:00
xdrm-brackets 05a59c772c [update] verbose fix for ping flag 2017-05-04 12:04:58 +02:00
xdrm-brackets 9a6c480290 [update] ctrlTerm timeout to 10sec 2017-05-04 11:56:07 +02:00
xdrm-brackets 6fbd41542b [update] Updated verbose plane handler (SGCA) 2017-05-04 11:52:44 +02:00
xdrm-brackets f860c8af0a [update] Feedback management (to notice viewTerm crash) added (1 byte: 0x10) 2017-05-04 11:03:19 +02:00
xdrm-brackets c868ec22f4 minmod (text message) 2017-05-03 17:03:27 +02:00
xdrm-brackets 29393a0747 [update] Sending flag 0x10 when plane update request and offline/unreachable 2017-05-03 17:01:02 +02:00
xdrm-brackets c3fa24d747 fixed text message 2017-05-03 16:06:19 +02:00
xdrm-brackets 1501181420 [update][fix] fixed c-emul test + redesigned ctrlTerm update management without <Critical Section> 2017-05-03 15:45:19 +02:00
xdrm-brackets 7b3f8c101c Mutex management for plane socket used by ctlrTerm 2017-05-03 12:35:18 +02:00
xdrm-brackets 6cfa351c9a Cleaned context structure 2017-05-03 11:58:41 +02:00
xdrm-brackets a31c97942b [fix] request switch management (plane thread let ctrlTerm use common socket) 2017-04-29 17:31:38 +02:00
xdrm-brackets 4af2f8180c [Fix] ctrlTerm doesn't get DATA when flag TERMREQ_FBK absent 2017-04-29 17:09:31 +02:00
xdrm-brackets e4b9d5daa6 [FIX] ctrlTerm ok (ctrlTerm<->sgca<->plane) 2017-04-29 17:04:07 +02:00
xdrm-brackets a8a44d9941 [DONE] Gestion envoi de données pour ctrlTerm 2017-04-28 16:37:29 +02:00
xdrm-brackets cc78418a53 Now viewTerm has an "infinite" buffer and delegates the data/buffer creation from context to local function (next step: use it also for ctrlTerm) 2017-04-28 16:32:20 +02:00
xdrm-brackets 1a98172fca [done] ctrlTerm plane update procedure (v0.1) to be tested by SdS 2017-04-28 14:54:02 +02:00
xdrm-brackets a356548965 minfix 2017-04-26 23:35:06 +02:00
xdrm-brackets e2fe1a7155 [done] Managing ONLINE/OFFLINE status for planes deconnected 2017-04-26 23:23:28 +02:00
xdrm-brackets 19a513f207 minmod 2017-04-26 23:04:31 +02:00
xdrm-brackets 9614928bcf [fix] test1 to send port (err with old BIND_HEADER length) 2017-04-26 22:56:29 +02:00
xdrm-brackets 79a1258a53 [BIG UPDATE] Dynamic local ip 2017-04-26 14:25:05 +02:00
xdrm-brackets 48f2b33728 fix 2017-04-26 13:13:53 +02:00
xdrm-brackets 3c241a2a95 [fixed] indianness sgca (plane viewTerm) 2017-04-26 13:10:35 +02:00
xdrm-brackets 387e55c092 Gestion viewTerm fonctionnel [todo] gestion envoi en plusieurs fois 2017-04-25 15:00:25 +02:00
xdrm-brackets a20cc18377 Refactor flags bind_header 2017-04-25 11:54:15 +02:00
xdrm-brackets b245e6f623 [fix] Fixed conflicts between TCP server sockets (at thread launch each have its own socket, then it becomes the same, reference err) -> so memcpy the socket at launch) 2017-04-20 11:49:11 +02:00
xdrm-brackets d5f883add1 [updated] central-manager : 1. removed middleware for planes 2. instead thread that publishes over multicast UDP to planes every N seconds. 3. Added udp/client to central-manager
[todo] 1. Update `bind_header` flags to know if plane/vterm/cterm with combination + must ask for TCP/UDP (implicit) no need to say it
2017-04-18 20:06:14 +02:00
xdrm-brackets 8b0e2c05bf double `htons` replaced by `ntohs` for diff-indian compilers 2017-04-18 19:40:36 +02:00
xdrm-brackets 070d0dd19d minmod 2017-04-18 10:21:10 +02:00
SeekDaSky d6ddbce375 Fix port transmission 2017-04-14 01:43:16 +02:00
xdrm-brackets ecb49e1117 Revert "[fix] pour l'incompetence des dev java"
This reverts commit c5b0056f67.
2017-04-13 20:43:45 +02:00
xdrm-brackets e270e47bc1 Merge branch 'master' of https://git.xdrm.io/xdrm-brackets/sysdis-project 2017-04-13 20:02:06 +02:00
xdrm-brackets c5b0056f67 [fix] pour l'incompetence des dev java 2017-04-13 20:01:56 +02:00
SeekDaSky d9556c876f le chie sur celui qui a eu l idee de ne pas gerer les unsigned en java 2017-04-13 19:57:30 +02:00
xdrm-brackets e190ac3008 [done] Gestion partielle réponse avion depuis SGCA [todo] gestion des requêtes d'update [todo] Fix car 2 avions en même temps entrent en collision (le dernier prend le dessus). 2017-04-12 10:32:48 +02:00
xdrm-brackets 791ca5ab09 [done] Gestion com plane 2-sides : envoi des données - [todo] gestion tampon + update avec flags 2017-04-12 09:57:59 +02:00
xdrm-brackets e1e8d56d0c [done] middleware `multicastPlane` FUNC + plane code for connection 2017-04-12 09:30:42 +02:00
xdrm-brackets f1fca736bd Délégation des middlewares [todo] middleware multicast pour avion 2017-04-11 19:12:34 +02:00
xdrm-brackets 63436afc35 Separated code between `main`, `middlewares` which creates a new socket (to do for UDP : copypaste the code from main to middlewares), and `handlers` which have the socket and do the actual management (communications) 2017-04-09 19:33:27 +02:00
xdrm-brackets 02989312d1 added headers 2017-04-09 18:56:11 +02:00
xdrm-brackets 726ab7b4e3 [done] Ajout timeout lors de création sockets + fonction de traitement dynamique pour chaque thread du type "LISTEN_" + debug TCP + fix `make clean` 2017-04-09 18:41:44 +02:00
xdrm-brackets 0c641726a8 [done] Passed all UDP terminal dispatchers to MULTICAST (224.0.0.2:4445 and 224.0.0.3:4446) to remove broadcast needs.[todo]{ udp multicast for plane + plane comm } 2017-04-09 16:06:31 +02:00