Does ncclient support ericsson devices?
As ericsson device supports netconf, can we use ncclient to connect to these devices? Also does it support both netconf RFCs?
If the netconf RFC has been followed by any networking vendor device, client do support those devices. So Ericsson should also work fine. If you face any problem, raise an issue on our github repo.
Related
I am wondering if anyone know if there is any sample code for implementing DHCP server and https server for AWS Freertos or if not then maybe for Freertos? The purpose for this is purely for WiFi provisioning so a lean implementation would be what I'm after.
My device is a PIC32MZ-W so it has built in Wifi (using Bluetooth for provisioning is not possible as it is not supported by this device, at least not without additional hardware).
I've searched both AWS Freertos and Freertos, but as far as I can see there are some comments on it but no guidance or examples seems to be readily available.
Thanks,
Marcus
There are plenty examples in the freeRTOS default folder that you can download from the offical website ( https://www.freertos.org/a00104.html ).
One of the examples would be here: \FreeRTOS-10.0.1\FreeRTOS\Demo\lwIP_Demo_Rowley_ARM7\lwip-1.1.0\src\core\dhcp.c
I'm designing a PWA for customer support.
One of the functionalities will require precisely (5 meters error margin) positioning the user's phone.
I'm thinking of using beacons as their range and precision suites my needs.
the thing is: How can I read beacons from a react.js (no native) PWA? Of course for triangulation, this would require reading several beacons.
Sorry, there is no practical way to make a web app that scans for bluetooth beacons due to the lack of browsers' support for bindings to raw bluetooth scanning.
Google Chrome does support BLE interaction via JavaScript through the Web Bluetooth API. However, it only supports discovering and connecting to GATT services, not arbitrary BLE scanning needed to find beacons. This means you cannot find iBeacon, Eddystone or AltBeacon compatible devices.
You might be able to discover a connectable custom BLE device that simulates beacon behavior through a connectable GATT service. But even if you did this, it would only work on Chrome, not on Safari, Microsoft or Firefox browsers, because Web Bluetooth is not supported on those platforms.
Even if you get this working on Chrome with a custom beacon, bluetooth beacons only provide very rough distance estimates. Triangulation only works decently at very close ranges of 3 meters or less. More practical indoor positioning techniques with beacons use RSSI fingerprinting not triangulation. And again, even Google Chrome with Web Bluetooth does not support the arbitrary scanning needed to do this.
I'm writing a mobile application on Marmalade SDK. How can I connect to other device via bluetooth?
https://answers.madewithmarmalade.com/questions/7285/bluetooth-support.html
No, Marmalade doesn't have a Bluetooth API. However, you could write
an extension to do it.
iOS has a CoreBluetooth API that allows you to interact with devices
supporting the Bluetooth 4 Low Energy GATT profile - this is only
supported from iOS 5/iPhone 4S/iPad3 and up, and will only
interoperate with Bluetooth 4 LE capable peripherals exposing a GATT
service. For earlier iOS devices, the only option is to use Apple's
proprietary iAP protocol, which means you can't "talk" to generic
Bluetooth devices - only those that implement iAP.
Android on the other hand offers Bluetooth 2.x + EDR connectivity. A
number of profiles (e.g. RFCOMM, A2DP) are supported. However, Android
doesn't have an API for Bluetooth 4 LE yet.
So, currently, the situation, from a cross-platform point of view, is
quite fragmented and it isn't straightforward to implement a
one-size-fits all Bluetooth connectivity solution.
I want to build an app that allow P2P communication(send message, exchange files), I build the app with phonegap, since I want my app cross platform.
I know WebRTC allow real-time communication, but browsers doesn't support it very well. I also found Websocket plugin for phonegap, this satisfied part of my requirement, I can use this send message, but if I use websocket to send files from A to B, I guess all traffic will go through my server, it a pressure for server and I don't want my server carry so much traffic. I can't make a peer to peer connection between A and B.
Is there anyway to make a P2P communication on phone? Any workaround solution is also welcome.
You can do peer to peer connections using Flash or the recent WebRTC. Currently these are the only options you can use to do so, as WebSockets will only connect to a server.
As Flash is not supported by most phones (only Android < 4.0 has support), you can only use WebRTC. But WebRTC is only available on Chrome Beta for now, so you'll still have a cross platform app that will not work in most platforms/devices.
You will have to go through server (WebSockets or HTTP) to increase the number of devices you can cover.
You can use Boost asio sockets to build you own P2P app. but you need to build it for Android NDK and IOS.
Please do take a look at these links before you get into a conclusion
Official "Boost library" Support for Android and iOS?
Limitations to using (Boost) Asio with Android NDK
http://beta.boost.org/development/tests/trunk/developer/summary.html
http://www.codeproject.com/Tips/555070/Boost-vs-OSX-iOS-XCode
Hope it helps
On WebRTC you can use RTCDataChannel, in my experience, on chrome, using this involves writing a lot of code around reliability as the packets arrive out of order or not at all if sent too quickly.
However I think as the WebRTC spec evolves this will improve with implementation.
Use this for generating a RTCDataChannel enabled peerconnection:
var localpeer = new webkitRTCPeerConnection(localConfig,{ 'optional': [{'RtpDataChannels': true }] });
Is there a way to connect an Adobe AIR mobile app to an Arduino hardware wirelessly with no pc or router?
either with bluetooth or directly to an Xbee piece connected to the Arduino?
I need both iOS and android solutions
thanx
You could use the Native Extensions for Adobe AIR (ANE) for iOS and Android, although it means you might have to do a bit of C coding (or at least have basic understanding of the C programming language). A couple of projects have been created for either Bluetooth or Arduino connection using ANE already.
There is an ANE based project called as3-arduino-connector on Google Code, which gives you an ActionScript 3 API and mimics the Arduino serial port.
Another useful project might be AirNativeiOS-Bluetooth, an AIR Native Extension to add Bluetooth support for iOS apps. A corresponding project for Android is Bluetooth ANE, although the website mentions that it's early beta only, not ready for production.
Digi International has a Wi-Fi XBee now; that might be a good option since Android and iOS devices have Wi-Fi already. The more commonly used XBee modules (Series 1 and 2) use 802.15.4 networking (instead of Wi-Fi's 802.11).
I haven't used one yet, personally, so I don't know how you access the serial port connected to the Arduino. It might be possible to telnet to the XBee and send/receive data from Arduino.