Commit Graph

49 Commits

Author SHA1 Message Date
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 e6c2bbcfa6 gitignore 2017-04-28 15:57:48 +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 e8e65f81fb makefile `make clean` fix 2017-04-26 23:48:15 +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
xdrm-brackets ab0fea9a14 [plane][done] multicast request (not tested) + init sequence + fetch ip/port by multicast then connect to given TCP (ref #1) 2017-04-08 19:25:44 +02:00
xdrm-brackets d2afb8f65e fix 2017-04-08 18:30:41 +02:00
xdrm-brackets 23af65d69e Update 2017-04-08 18:20:17 +02:00
xdrm-brackets 0dc72353cd update 2017-04-07 20:25:53 +02:00
xdrm-brackets b751266152 Reference #4 Reference #3 Gestion 2 serveurs UDP pour `vterm`/`cterm` reste à faire le UDP multicast + dispatch socket random udp fonctionne 2017-04-07 18:14:21 +02:00
xdrm-brackets 8cc7dcf06c Reference #7 + minmod 2017-04-06 20:08:45 +02:00
xdrm-brackets 0009aa269a [Done] UDP communication thread first step 2017-04-06 17:41:34 +02:00
xdrm-brackets 6c5aabae30 [in progress] udp redirection management 2017-04-06 13:36:51 +02:00
xdrm-brackets 470eaf2610 merge 2017-04-06 12:03:46 +02:00
xdrm-brackets df156c42f0 plane default code 2017-04-06 12:01:18 +02:00
xdrm-brackets 7b2caf39b6 Update 2017-04-03 18:04:57 +02:00
xdrm-brackets 94c4769241 Lib tcp/udp in progress 2017-04-01 17:01:36 +02:00
xdrm-brackets b41a8d304f First commit <xdrm-brackets:proxy.ftp.c> Import 2017-03-28 18:51:26 +02:00