Граф коммитов

181 Коммитов

Автор SHA1 Сообщение Дата
Mikhail Chatillon b022a08239 Aasd 2021-11-10 23:22:35 +01:00
Mikhail Chatillon 158b5378ab
Prepare for release 1.0.7 (#373)
* Prepare for release 1.0.7

* Update version to be the correct ones

* Add rewording from comments

* Update Docs/upgrade.md

Co-authored-by: Patrick Schuler <patrick.schuler@microsoft.com>

* React on comments

Co-authored-by: Patrick Schuler <patrick.schuler@microsoft.com>
2021-09-28 13:29:36 +02:00
Roel Fauconnier 8f6993ef06
Feature/346 enable markdown linting (#371)
* Add action for linting markdown

* fix action syntax

* more syntax fix for yaml

* fix job syntax

* edit markdown to trigger action

* fix format of task

* Fix line lengths and linting

* linting of all docs/*.md

* replace config with jsonc

* add config to action

* fix some additional linting

* use CLI instead of bloated superlinter

* syntax again

Not used to Action syntax yet

* splitting steps

* ignore node-modules in linting

* Linting of additional docs

* fix another file that was missed

* rename Action and remove comments from previous implementation

* add config for mlc

* add more config for linkcheck

* test with verbose logging

* wrong links for test

* the config file was broken

* fix all broken links hopefully

* fixing links once more

* fix links and reduce verbosity

* final link fix

* simplify yaml, parallel jobs

* split runs

* inject linting error and wrong link as final test

* fixed and ci working as expected
2021-09-25 13:49:11 +02:00
Patrick Schuler c35ab178f3
Payload was double decoded (#342)
The playload gets decoded up in the stack and appended as a base64 encoded string to the Url. The payload passed in is disgarded after it gets base64 encoded. This step was not required.

Co-authored-by: Patrick Schuler <paschule@microsoft.com>
2021-09-20 15:10:48 +02:00
Mandur fbd667a46f
Add class C tests (#341) 2021-09-20 12:05:03 +02:00
Mandur c72c3ea79d
Add a custom start address to the packet forwarder (#340) 2021-09-17 19:50:05 +02:00
Mandur 3632de80fe
Fix dev experience (#331)
* Fix dev experience

* Add log message
2021-09-14 17:50:49 +02:00
Mandur 0ea904d0e8
Prepare release 1.0.6 (#313)
* Prepare the release

* Update documentation
2021-07-09 13:47:27 +02:00
Mandur f263b3fbdf
Point ci to correct ip (#312) 2021-07-06 09:51:19 +02:00
Mandur 83caedb89f
Fix #293 #292 (#294)
* Upgrade device sdk versions

* Fix Mac issues

* Fix indentation

* Correct test
2021-05-16 14:11:28 +02:00
Mandur b37938ea21
Upgrade IoT Edge to 1.2.0 (#290)
* upgrade ci version

* Correct stuff

* Change deployment

* Upgrade version

* Upgrade dev status badge to gh actions

* Add enable gateway

* Add gateway
2021-05-03 20:25:02 +02:00
Mandur 5a67942cfd
Migrate CI On Github Actions (#284)
* Add github actions ci

* Fix acr username

* Harmonize function definition

* Fix function naming

* fix characters

* Address PR comments
2021-03-01 20:41:48 +01:00
Mandur 3aeacc327b
Revert null check on RX2 (#280) 2021-01-07 13:03:16 +01:00
Mandur 81ab9f478d
Prepare function 1.0.5 (#263) 2020-10-14 12:41:15 +02:00
Mandur 305926f02a
Fix missleading logs (#260) 2020-09-16 07:34:01 +02:00
Mandur fd6cd5ebf3
Change Dev Addr Cache to be updated with a cron function instead of a worker job (#259)
* Change devaddrsync to be a time triggered function

* Change start function log to debug

* Upgrade debug log to include more information

* Add DevAddr cache exception test
2020-09-04 09:14:10 +02:00
Mandur 72977e7727
Upgrade Azure function guide (#254)
* Upgrade Azure function guide

* Upgrade deployment button
2020-08-17 08:04:19 +02:00
Mandur 0df8e9ed25
Prepare version 1.0.4 release (#250)
* Upgrade versions

* Fix Azure function versioning
2020-08-13 08:15:07 +02:00
Mandur fdbc3c17bf
Upgrade dotnet versions (#240)
* Upgrade dotnet versions

* Correct arm image

* Implement comments
2020-07-04 11:28:44 +02:00
Mandur 8e704262c7
Fix RX2 implementation in twin (#239)
* Fix RX2 implementation in twin

* Address comments

* Adress comments

* Add comments

* Add install dotnet 2.1 to ci

* Specify minor version for .net install
2020-07-02 10:53:54 +02:00
Mandur f020ec8a4f
Upgrade Versions (#231)
* Upgrade versions

* Correct typos
2020-04-20 21:22:54 +02:00
Francisco Beltrao 1734cd2c00
Use new agent to run integration tests (#223)
* Use new agent to run integration tests

* Add missing metric type parameter to az cli cmd

* Fix usb port => ttyACM0

* using ip to connect to test runner

* Change secondary IP adress for udp logs

* Add C2D expiry time in failed test

* Correct style

Co-authored-by: Mikhail Chatillon <chmikhai@microsoft.com>
2020-03-12 16:02:03 +01:00
Mattias Karlsson 10ff655f22
ms-vscode.csharp to ms-dotnettools.csharp (#226) 2020-03-10 08:28:41 +01:00
Francisco Beltrao 7551798f55 Add tests and log to troubleshoot class-c message (#215)
after reboot bug
2019-09-27 09:34:44 +02:00
Francisco Beltrao 8f7cbb5715
Avoid starting other gateway device clients (#208)
* Avoid loading device twin knowing that it belongs to another gateway (added nwkskey to cache)
Fix error query iothub device for changes
Fix date comparison in iothub query (delta reload)

* Add missing usage of extension method GetGatewayID
2019-07-15 16:51:36 +02:00
Sascha Corti 0a08549237 1355 Add Hex decoder to built-in decoders (#203)
* Implement DecoderHexSensor and tests

* Add documentation to quickstart.md

* PR Feedback Francisco
2019-07-15 08:21:23 +02:00
Patrick Schuler 6e99148dbf
Adding retry handling for tests (#207)
* adding retry handling for tests

* add test parameters for single integration test

* - force no build on command line for integration tests nobuild does not seem to work
- disable quick test

* remove theories and replace with facts for better retry handling and reporting

* simplify multi test execution using each expression

* test remove fact attribute

* fixing discovery binding

* add retry to all integration tests

* use yaml notation for testsToRun

* use contains and switch to IntegrationTestsToRun, so we can specify 1 or more tests to run for a build

* add assert info when retrying/failing along the existing logs

* add more logging

* update status message
2019-07-11 21:50:38 +02:00
Francisco Beltrao 54d6272c92
More tolerant cloud to device message test (#205)
* More tolerant cloud to device message test

* Add constants and fix to typos found in PR review
2019-07-10 07:56:47 +02:00
Sascha Corti 7d0eee67a4 Update upgrade.md (#202)
* Update deployed template version (#169)

* Update Upgrade.md with 1.0.0 to 1.0.1 migration guide.

Update Upgrade.md with 1.0.0 to 1.0.1 migration guide.

* PR input Francisco.
2019-07-08 09:58:30 +02:00
Mandur 57b221cd36 Enable Spi speed and Spi dev on arm template (#201) 2019-07-08 09:55:16 +02:00
Patrick Schuler d457c8bb7e Update function DI (#200)
* update function di

* update documentation and remove function pinning instrutions
2019-07-05 18:54:51 +02:00
ZhuQI77 9583c1f24e Add SPI Speed option for pkt fwd (#199)
* modify spi speed for rak2245

modify spi speed for rak2245

* modify spi speed for rak2245

modify spi speed for rak2245

* modify spi speed for rak2245

modify spi speed for rak2245

* Amend PR to adapt to current solution

* More changes based from test feedback
2019-07-04 17:03:52 +02:00
Mandur 60f5a4c003 Implement Dev Address cache in Redis (#185)
* Implement Dev Address cache in Redis

In order to minimize service calls to IoT Hub

* Change caching to remove keys if device changed

* Change according to comments

* Fix devaddr locks null when gateway is null
2019-06-27 11:12:51 +02:00
Mandur 820b3b2af0 Fix wrongly Datarate mapping for class C devices (#195)
* Fix US region mapping

* Add tests

* Correct spacing

* Fix test to US

* Fix test

* Fix according to comments

* Correct double DR in US DR plan
2019-06-25 14:32:44 +02:00
Mandur ec3c3d1d01 Update missing values in the appsettings.local (#193)
Otherwise CI's placeholders are taken
2019-06-19 11:44:15 +02:00
Francisco Beltrao c200f3480e Rename 'moduleContent' to 'modulesContent' (#191)
* Rename 'moduleContent' to 'modulesContent'

* increase timeout for disconnection tests
2019-05-13 15:46:03 +02:00
Patrick Schuler 561bcab550 Add multi gw integration tests - No FullCi yet (#180)
* - add support to log multiple GW
- update pipeline to deploy 2nd GW

* add new variable

* update deployment template files

* update triggers

* read build agent IP and use it for 2nd GW

* update pipeline

* pipeline update

* pipeline update

* remove ip address bash for 2nd GW

* exclude pr for master & dev

* fixes for cache races on the server

* fix format

* fix format

* format

* format fix

* fix tests

* only includes

* publish ports

* include deduplication tests

* remove unused var for secondary

* fix test fixture base assert

* change to MultiGwTest name

* add multi GW Test
add function call support in CI (template support missing)

* add multigw message search

* update deduplication tests

* update dev ops agent

* fix existing unit test:
- add support to filter for specific gw message
- fix cloud to device check to use the confirmed message rather than the start of the processing of the message

* fixing integration test

* fixing references and adding initial C2D multi gw test

* update multi gw tests

* update integration tests

* Random class lock and reuse

* - Function parameter passing
- timing

* fix pipeline variable names

* - fix in memory device store to make unit tests reliable
- remove lock release in device getter
- fix pipeline triggers

* fix space in yaml

* fix integration tests

* rename build variable

* fix indentation after merge

* review comments

* Twin sync is not required, and can fail even if we wait a long time. Making this less restrictive to ensure we can pass the unit tests. It really is only there to ensure that both GW will get the messages. If they don't get it for a specific run, they will get it likely on the next run.

* wait for serial to be ready

* fix dedup test

* Enable timestamps
Try fixing the disconnection test

* ensure we search for the right source id when searching for the disconnected message
2019-04-18 16:56:46 +02:00
Patrick Schuler a7c824844e - fix in memory device store to make unit tests reliable (#186)
- remove lock release in device getter
- fix pipeline triggers
2019-04-17 17:46:46 +02:00
Mandur 0e7df54410 Fix reported properties sync bug (#177)
* Fix reported properties sync bug

* Reset style

* Reset correctly style
2019-04-12 11:43:19 +02:00
Patrick Schuler 6a56b56de2 Fix race in connection management code (#182)
* fix race

* temp changes for connection management

* Rename reserved connection to begin activity
LoRaDevice.Disconnect is replaced by TryDisconnect
Reuse IDisposable activity for devices without connection timeout
Add tests for connection and disconnect
2019-04-09 14:53:17 +02:00
Patrick Schuler d523da467b Fixes for ADR caching and FCnt down in functions (#178)
* - fix adr caching (redis locks)
- ensure nextfcnt down only runs once

* fixes from reviews
2019-04-05 14:48:43 +02:00
Mandur 7c5b01e7de Update function to deal with DI and template deployment (#172) 2019-04-03 12:40:17 +02:00
Patrick Schuler 68f74f21f3 fix server races (#174)
* fixes for cache races on the server

* fix unit tests

* add ClearCache

* add KeyExists

* fix execution context

* review comments

* PR comments fixes

* update dev nonce message on info channel
2019-04-03 11:02:16 +02:00
Sascha Corti 9005c612f9 Improvements to simulated device load tests (#168)
* Improvements to simulated load tests

- 500 simu;ated devices supported
- KeepAliveTimout property in test clients
- Delay between message bursts configurable

* Allow for 1000 test devices, fix bug in TestDeviceInfo.cs

TestDeviceInfo.cs would not allow updating KeepAliveTimeout twin setting to 0.
2019-04-03 00:00:54 +02:00
Patrick Schuler dd77847a2c merging bug fixes (#167)
* merging bug fixes

* adding HasValue
2019-03-28 17:49:52 +01:00
Sascha Corti 976aecc39a Update example.env with release version numbers. (#166) 2019-03-28 15:57:43 +01:00
Francisco Beltrao 7d5418fd64 Log level harmonisation (#162)
* Log level harmonization

* Add devEUI to failed join attempts log

* Fix ADR CI test

* Fix MAC command CI test
2019-03-28 08:57:39 +01:00
Francisco Beltrao 68cdf83cfe Fine tune device caching (#156)
* Absolute device cache expiration
Device join attempt cache increased to 30 min (from 2 min)
Update AzureDevOpsAgent to 2.148.2

* Use "F5A9" in test device keys
2019-03-26 09:55:32 +01:00
Mandur b2d43b8ee9 Implement allowed dev addresses & resubmit decoders (#155)
* Implement allowed dev addresses

* Change with regard to comments

* Amend changes with rebase

* Remove wrongly added package
2019-03-25 08:55:12 +01:00
Francisco Beltrao 1d1b515e14 Optimise device client connection (#153)
* Optimise device client connection

* Fix time issue in unit test
"When_New_ABP_Device_Instance_Is_Created_Should_Increment_FCntDown"
2019-03-22 16:59:40 +01:00