Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update latest code from orig #5

Merged
merged 56 commits into from
Dec 5, 2015
Merged

Update latest code from orig #5

merged 56 commits into from
Dec 5, 2015

Conversation

vowstar
Copy link
Owner

@vowstar vowstar commented Dec 5, 2015

No description provided.

vowstar and others added 30 commits July 4, 2015 04:36
This addresses the issue where a server would otherwise reject a valid
connection attempt from a rebooted node, due to the server thinking that
packet belonged to a recently closed session. By starting off the local
TCP port numbers at random* points each boot the risk of port reuse
across a reboot is significantly reduced.

*) As random as can be had via the lower 12 bits of the ccounter.
Remove unnecessary code
Add @TerryE's comment about announcing work on a PR
This got broken in the 1.4.0 overhaul, mea culpa.
Fix building with DEVKIT_0_9 defined.
mqtt:close() send the DISCONNECT message (fix #673)
Port of strip debug patch to the SDK 1.4-baseline dev
Now with more #ifdef.
Values measured:
@80MHz:
	T0H: 337ns, Period: 1.274us
	T1H: 687ns, Period: 1.25us

@160MHz:
	T0H: 349ns, Period: 1.262us
	T1H: 700ns, Period: 1.276us
Fix to do TCP port number randomization at boot.
Better timings for WS2812 (measured 345ns/695ns, instead of 340ns/600ns)
Fix sending CoAP UDP response using new SDK 1.4.0
Make ADC vs readvdd33 option user_config.h configurable for the init data,
and made readvdd33 the default.
The DS18S20 has only 1 fractional bit whereas DS18B20 has 4, and their
temperature register alignment differs. Check the family code to choose
the correct multiplier for both devices.

Closes #610

Negative temperatures (less than 0°C) are returned as a sign-extended
two's complement number. Subtract 0x10000 to recover the proper
negative value.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
jmattsson and others added 26 commits November 17, 2015 12:17
Allow to set content type in COAP (fix #658)
 Added fix from #750, to access the IP of a sender of a UDP packet, to fix SDK 1.4.0 compability.
Integrate an extra build step for PRs to build a special firmware
Ensure ld-provided port alias is properly aligned.
Support DS18S20 and fix negative temp handling
Add reference to HX711 documentation to source
Skip CR in interactive mode
Re-add detection of CR as newline.
Fixes #784 and fixes #785.
Master contained two OW changes one of which was already reimplemented in dev using the
correct macros.  The second was from hazarkarabay (f6d0c0c) that onewire_search()
returns a device address vector even when no device is found.  I've reimplemented this
but using the correct index, rom_byte_number, rather than declaring a new temp index i.
Make sntp.sync work with DNS hostnames
Merge Onewire changes from Master into Dev
if n = 0 -> std pinout.
if n != 0 -> alternate pinout (gpio13 and gpio15)
Make net.dns.resolve and net.dns work with an IP address as the hostname
Added uart.alt(n) to swap to use alternate rx/tx lines.
Remove adc.readvdd33() limitation.
Fix EGC case in concat where stack top not recalculated
vowstar added a commit that referenced this pull request Dec 5, 2015
Update latest code from orig
@vowstar vowstar merged commit 25af2b9 into vowstar:dev Dec 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.