Is it possible to use https in ESP8266 via mongoose library? - esp8266

I'm currently developing the HTTPS server on the NodeMCU ESP8266 chip.
I use the espressif/ESP8266_RTOS_SDK with the mongoose-ws library.
I found that the memory is not enough to run it.
When I connect to the server it always crashes and shows the out-of-memory error on the screen.
What do I need to config or add to limit the memory usage? or is it impossible to do?

Related

Control mac with http

I would like to be able to control my mac over http post commands.. (Launching apps for example)
I have this jailbreak tweak (activate command) on my iphone that can send shell commands and http post requests (using curl)
But the problem is that i don't know how to prepare my mac for receiving and processing these requests.. Should I use python or php scripts (any tutorials on receiving post requests?) or are there any easy-to-setup restful api's to setup on my mac?
Thanks guys
What you're talking about already exists, in mutltiple forms actually.
RDP: You're probably already aware of Remote Desktop Clients which should be sufficient enough. If you're really inclined on launching apps via command line, you can just open up terminal and do it remotely.
SSH: You can set up a secure shell server on both devices and launch a connection over the LAN. There are multiple clients that I know of on dos systems such as PuTTY or WinSCP. On UNIX systems, there is an SSH shell which you can use for remote connections on either ends. However everything you do will be command-line so you should already have a knowledge of the file system structure and how to navigate it and actually use it.
If you are looking for a script on iOS, I've had very little experience with developing in Python and I don't even know if it can pull off what you are asking. iOS 7.X >= compiles in Objective-C, iOS 8.X compiles in Swift, and the upcoming iOS 9 will be compiling in Swift 2.

Is it possible to connect to mysql server directly from an iOS app?

I was just wondering if we can connect to a mySql server directly from an iPhone app directly,i.e., without using any PHP or java scripts as intermediates. If Yes, then what will be the challenges? I understand that there might be a chance of hacking.
EDIT: What if I am in a VPN, is this still a threat?

Ios filesharing without iTunes or an internet connection

I am working on developing an enterprise application for ios 7 that needs to work offline and then sync with a desktop client (that I also need to write) for data transfer.
My company does not allow wireless or cell data in this area, and would strongly prefer to not use iTunes either.
The question is, how do you transfer data from an iPad over the usb cable to a custom windows program, without iTunes.
The simplest answer would be: iExplorer (http://www.macroplant.com/iexplorer/) plus some kind of a script to automate the data sync.
Otherwise, you can use the ExternalAccessory framework to communicate with the desktop via a USB tether. This would necessitate a desktop client running simultaneously to communicate with the device.
peertalk (https://github.com/rsms/peertalk) does what you want, however the computer side library is only for mac os. Maybe you can port the protocol to windows by looking at that (the license is BSD)
Edit: this guy managed to have it run under linux. It sits on usbmuxd, which also has a windows port, so it shouldn't be impossible.

Unable to make direct TCP connections on blackberry application

In my blackberry application I'm establishing network connection by appending ;deviceSide=true in the url. It is working fine on simulator but its not working on device. I've correct APN settings as other third party apps are running fine.
Please let me know the possible reason for this issue!!!
Its not necessary that your app always connect via direct TCP.
For taking care all types of networks available in blackberry for your app refer this article.
How to programmatically connect to the internet in blackberry
Network Diagnostic Tool
download this network diagnostic tool developed by RIM and check weather direct TCP is working or not in your mobile.

How to bypass MDS-CS in BlackBerry?

I have sample tcp server running # localhost:5050. Connecting to it from BlackBerry is via MDS-CS simulator,and it caches the data with max of 8192. From the Blackberry forums, i understood that, there is a way to bypass it directly to the server.
My Configuration is as follows,
IDE : BlackBerry JDE 4.7.0
Platform : Vista
Server : TCP Server running localhost:5050
You can use direct TCP. When running in the simulator you can just add ";deviceside=true" to the end of your URL. Out on a real phone I don't think it is so easy - I'm also looking for a solution.

Resources