tecrea / wisol Goto Github PK
View Code? Open in Web Editor NEWAT-commands based driver for WISOL SigFox radio modems
License: GNU General Public License v3.0
AT-commands based driver for WISOL SigFox radio modems
License: GNU General Public License v3.0
gcc -Wall -flto -Wextra -Wimplicit-fallthrough=0 -Wformat-security -Wduplicated-cond -Wfloat-equal -Wshadow -Wconversion -Wsign-conversion -Wjump-misses-init -Wlogical-not-parentheses -Wnull-dereference -Wnull-dereference -Wstringop-overflow -fprofile-arcs -ftest-coverage -fstrict-aliasing -O2 -std=c89 -pedantic -D_POSIX_C_SOURCE=199309L -MD -Wstrict-aliasing -I. -I./src/Sigfox/ -I./src/main/ -I./src/test/ -c src/Sigfox/wssfm1xrx.c -o obj/src/Sigfox/wssfm1xrx.o
Compiling obj/src/Sigfox/wssfm1xrx.o [WARNING]
In file included from src/Sigfox/wssfm1xrx.c:19:0:
src/Sigfox/wssfm1xrx.h:177:16: warning: comma at end of enumerator list [-Wpedantic]
WSSFM1XRX_RCZ6,
^
src/Sigfox/wssfm1xrx.c: In function ‘WSSFM1XRX_AskChannels’:
src/Sigfox/wssfm1xrx.c:368:18: warning: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Wconversion]
Channels->x = (uint8_t)obj->RxFrame[0]- (uint8_t)'0';/* ((rspPtr-1))-(uint8_t)'0';/ /non compliant misra c 18.4/
^
src/Sigfox/wssfm1xrx.c:369:18: warning: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Wconversion]
Channels->y = (uint8_t)obj->RxFrame[2] -(uint8_t)'0' ; /* ((rspPtr+1))-(uint8_t)'0'; /
^
src/Sigfox/wssfm1xrx.c: In function ‘WSSFM1XRX_SendMessage’:
src/Sigfox/wssfm1xrx.c:505:17: warning: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Wconversion]
uint8_t slen = ((uint8_t)2size) + (uint8_t)6; /misra c 10.4 & 12.1/
^
src/Sigfox/wssfm1xrx.c: In function ‘DL_DiscriminateDownLink’:
src/Sigfox/wssfm1xrx.c:629:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
uint8_t i;
^~~~~~~
src/Sigfox/wssfm1xrx.c:635:16: warning: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Wconversion]
byteIndex += (uint8_t)WSSFM1XRX_DL_BYTES_OFFSET;
^
src/Sigfox/wssfm1xrx.c: In function ‘WSSFM1XRX_BuildFrame’:
src/Sigfox/wssfm1xrx.c:677:14: warning: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Wconversion]
finalsize = sizecopy((uint8_t)2);
^~~~~~~~
src/Sigfox/wssfm1xrx.c:680:10: warning: conversion to ‘int8_t {aka signed char}’ from ‘int’ may alter its value [-Wconversion]
for(i = ((int8_t)sizecopy-1) ; i >= 0; i--){ /*misra 10.4 */
^
src/Sigfox/wssfm1xrx.c: In function ‘NibbletoX’:
src/Sigfox/wssfm1xrx.c:704:8: warning: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Wconversion]
c_h = (value & (uint8_t)0x0Fu) + (uint8_t)'0' ;
^
src/Sigfox/wssfm1xrx.c:706:36: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
return (ch > (char)'9')? (ch + 7) : ch;
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.