Giter VIP home page Giter VIP logo

gdsercomm's People

Contributors

superwaitsum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gdsercomm's Issues

Serial comms working on linux, but not windows

Hi,

I have already written one application to work with a serial device under windows which is working perfectly. I now need a second application which sends AT commands to a device, but under Windows, I get no response. The device if configured for 115200 baud, 8 bits, 1 stop bit, even parity, and works fine under linux.

Is there anything that I can supply to help fix this, although I do realise that it may no longer be maintained (whilst still very useful).

Many thanks,
Mark

error on config.h

Hello,

When I try to compile the following shows

vk:GDSercomm vanoak$ scons p=osx
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/GDSercomm.os -c -g -O3 -arch x86_64 -fPIC -I. -Igodot_headers -Isercomm/include/public -Ilib src/GDSercomm.c
In file included from src/GDSercomm.c:5:
In file included from sercomm/include/public/sercomm/sercomm.h:28:
In file included from sercomm/include/public/sercomm/base.h:28:
sercomm/include/public/sercomm/common.h:28:10: fatal error: 'config.h' file not
found
#include "config.h"
^~~~~~~~~~
1 error generated.
scons: *** [src/GDSercomm.os] Error 1
scons: building terminated because of errors.

It seems to me that the problem is not related to GDSercomm but some directory that should be on PATH, but I can't figure it out which is.

Thank you.

Game completely closed on opening port

When I want open the port, For some seconds game freezes and suddenly window closed and process killed.
This error appear in output windows:
drivers/windows/stream_peer_tcp_winsock.cpp:203 - Server disconnected!

Serial port data containing invalid utf8 bytes

I have a device which sends data over serial port, but this data is not formated as string.
It just sends bytes and I have to get my values from these bytes.

For example, the device sends me bytes like this:
165 0 21 24 11
165 0 22 22 10

In godot I get errors in the console output, because the bytes are outside of unicode range:
"unicode error: invalid skip"
"unicode error: no space left"
"unicode error: invalid utf8"

Would it be possible to have a function "readByteArray", so that the bytes from the serial port are returned as array, like [165, 0, 21, 24, 11], insted of strings?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.