Re: [dev] Hi, I have some question about Arduino(Wifi shield)

2017-08-01 Thread Matta Jayaram
Hi

 If we set the listening port number with 5 for Arduino MEGA(with
WiFi shield) or ESP8266. Whenever we do the DISCOVERY from IoTivity Client
or By Clicking Find Resource option in Eclipse Simulator It will Discover
the ESP8266 or Arduino MEGA (with WiFi shield) Device with port number
“4097” .

 Yes, all of us know that IoTivity Servers are Initially Multicasted to
224.0.1.187:5683 and Unicast (or listening) to device ip with some random
port number.

Once the Device Discovered with specific port number then IoTivity Client
Initiates GET,PUT,POST,..etc to that specific portnumber with Device IP.

 But here Arduino MEGA (with WiFi shield) or ESP8266 Device is
Discovered with port Number “4097”,IoTivity Client is Initiates
GET,PUT,POST,..etc
to that specific portnumber with Device IP (DeviceIP:4097) but the device
listening port is 5.

we need to change code on client side ,like when ever it discovers
devices with port number 4097 skip that 4097 port number and sending it to
the other port Number(5 or any other server side listening port number).

  In the SDK used by the ESP8266/Arduino port, the underlying LWIP
library implements a function tcp_new_port as part of the tcp_client
library portion of the LWIP library.

This library is provided as a binary library by Espressif rather than as
open source.Currently that function works by sequential port allocation
starting from a fixed value that is

reset on every reset. Thus, the first tcp_connect() call from every reboot
will always use source port 4096, the second will use 4097, etc.

  This is a problem still exist for both Arduino MEGA(with WiFi shield)
& ESP8266 .I think changing the code on client side for specific port
number is not good and also try with Ethernet Cable.

On Tue, Aug 1, 2017 at 7:49 PM, 강태규  wrote:

> Hi, I am using Arduino MEGA and WIFI shield.
>
>
>
> I tried to communicate with ocserver.cpp(arduino) and occlient.cpp(Linux
> PC).
>
>
>
> I noticed the server(arduino) can send URI(/a/light) to client(Linux PC).
> And the client also discovered the device's IP and port number
>
> (for example : 192.168.43.3:4097)
>
>
>
> But the server(arduino) do not operate OCEntityHandlerResult
> OCEntityHandlerCb(OCEntityHandlerFlag flag, OCEntityHandlerRequest *
> entityHandlerRequest, void *callbackParam)
>
> which should be invoked by OCStack whenever it recevies a request for this
> resource.
>
>
>
> Any advicess should be welcomed.
>
> ___
> iotivity-dev mailing list
> iotivity-dev@lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>


-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
___
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev


[dev] Should IoTivity Arduino support be dropped?

2017-03-03 Thread Matta Jayaram
Dear Team,
Should IoTivity Arduino support be dropped?

Before answering above question ,

1.we know that arduino Wifi / Ethernet shield will not support multicast.

2.Even if we use unicast also we are unable to create multiple resouces
with it (1.a/fan,2.a/light...etc)

3.Unable to process payload more than 255 bytes

4.When IoTivity client is Performing Discovery its destination address is
always 4097.

if you Drop the Arduino Boards Support No problem, But if you
Drop the Arduino SDK support then as per my understanding we are unable to
Build IoTivity for Arduino SDK Supported Boards like ESP8266,nrf5XXetc
Modules.

   If you provide Arduino SDK Support  on IoTivity - Constrained
side then it's ok


On Fri, Mar 3, 2017 at 5:07 AM, Thiago Macieira 
wrote:

> On quinta-feira, 2 de mar?o de 2017 15:16:38 PST Gregg Reynolds wrote:
> > > But yes, we should figure out renaming the full implementation to a
> > > correct name.
> >
> > i've always assumed that was impossible in practice.  i just like to
> > complain.  ;)
>
> I never said it would be easy...
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> ___
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170303/a758a7ad/attachment.html>


[dev] IoTivity Resource collection Observe

2017-03-03 Thread Matta Jayaram
Dear Team,

  Now I am working on resource collection ,created 6 resources and I am
able to perform GET,PUT,POST on it individually & all at a time.

  Now I am trying to Implement observe method,But OIC specification
does not say anything about collection resources should not support
observer functionality.Its very common that server can have collection type
resources and client can observe its status.

 Should I need to take care of Application entityHandler for handling
the observe requests on collection resource ?

Please suggest me


-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170303/5a39ac5d/attachment.html>


[dev] Memory Footprint

2017-02-02 Thread Matta Jayaram
Dear Thiago,

   In My previous Email I shared Memory Footprints for IoTivity and the
OS { IoTivity-Constrained + OS (RIOT / Contiki Supported Boards)}.Without
Enabling Security I generated above .hex /.elf files.

On Thu, Feb 2, 2017 at 5:43 AM, Jaehong, Jo  wrote:

>
>
> Dear Matta and Thiago.
>
>
>
> I appreciate your kind and detailed reply.
>
> This really helps me a lot.
>
>
>
> Thank you,
>
> Jaehong
>
>
>
> *__*
>
> *Jaehong Jo*
>
> * Samsung Electronics Co., Ltd*
>
> *Mobile: +82-10-7260-5021*
>
> *Email: jaehong.jo at samsung.com *
>
>
>
>
>
> - *Original Message* -
>
> *Sender* : Matta Jayaram 
>
> *Date* : 2017-02-02 03:43 (GMT+9)
>
> *Title* : Re: [dev] Memory Footprint
>
>
>
> Dear Jaehong,
>
> Just a small additional information to previous Thiago response,
>
>The *"Text" + "Data"* sizes together are the *required space in Flash*,
>
>
> while *"Data" + "Bss"* is the* RAM *requirement.
>
> *Iotivity-Constrained with RIOT OS Supported Boards:*
>
>Tried Iotivity-Constrained with Nucleo-F4XXre,Raspberrypi 3 and Atmel
> Samx2XXpro Boards .
>
> *Case1:* Iotivity-Constrained with RIOT OS to Nucleo-F4XXre Board
>
> 1.Generated Client and Server Executable files(i.e .hex & .elf)
>
> *Available Flash Memory: 512Kb*
>
> Client.elf>>>1.3Mb
>
> Text
>
> 49324
>
> Data
>
> 280
>
> Bss
>
> 27652
>
> Dec
>
> 77256
>
> Hex
>
> 12dc8
>
> *Client.hex>>>136.3Kb*
>
> Server.elf>>>1.3Mb
>
>
> Text
>
> 49004
>
> Data
>
> 312
>
> Bss
>
> 27732
>
> Dec
>
> 77048
>
> Hex
>
> 12cf8
>
> *Server.**hex**>>>**135.5Kb*
>
> *Memory Configuration:*
>
> *Name Origin  Length  Attributes*
>
> rom   0x08000x0008   xr
>
> ram0x2000   0x00018000   xrw
>
> cpuid  0x1fff7a10  0x000c
>
> *default*   0x0x
>
>
> *Case2:* Iotivity-Constrained with RIOT OS to Raspberry Pi 3
>
> 1.Generated Client and Server Executable files(i.e .hex & .elf)
>
> *Client.elf>>>125Kb*
>
> Client.hex>>>125Kb
>
> *Server.elf>>>124.9Kb*
>
> Server.hex>>>124.9Kb
>
> Memory Configuration:Default
>
>
> *Case3:* Iotivity-Constrained with RIOT OS to Atmel Samx2XXpro Board
>
> 1.Generated Client and Server Executable files(i.e .hex & .elf)
>
> *Available Flash Memory: **256**Kb*
>
> Client.elf>>> 2.31 Mb
>
> Text
>
> 72560
>
> Data
>
> 284
>
> Bss
>
> 31120
>
> Dec
>
> 103964
>
> Hex
>
> 1961c
>
>
> *Client.hex>>>200.1Kb*
>
> Server.elf>>> 2.3Mb
>
> Text
>
> 72184
>
> Data
>
> 316
>
> Bss
>
> 31200
>
> Dec
>
> 103700
>
> Hex
>
> 19514
>
> *Server.hex>>>199.2Kb*
>
> *Memory Configuration:*
>
> NameOrigin   Length  Attributes
>
> rom   0x0x0004 xr
>
> ram0x20000x8000xrw
>
> *default*  0x 0x
>
>
> *Iotivity-Constrained with Contiki OS Supported Board:*
>
> *Available Flash Memory: 512Kb*
>
> Memory Configuration :
>
> server.bin ===>114.5kb
>
> client.bin ===>119.3kb
>
> NameOrigin Length
>Attributes
>
> FLASH 0x0800   0x0008   xr
>
> RAM 0x2000 0x00014000xrw
>
> *default* 0x  0x
>
> On Wed, Feb 1, 2017 at 8:21 PM, Thiago Macieira  > wrote:
>
>> Em quarta-feira, 1 de fevereiro de 2017, ?s 06:24:54 PST, Jaehong, Jo
>> escreveu:
>> > Hi, Thiago.
>> >
>> > Do you have material about memory footprint using IoTivity Constrained?
>> > How can I measure it on Zephyr?
>>
>> Hello Jaehong
>>
>> Since the Constrained FW does not allocate memory dynamically (no
>> malloc), you
>> can measure the size by using the "size" command on your toolchain. The
>> "text"
>> and "data" sizes together are the required space in Flash, while "data"
>> plus
>> "bss" is the RAM requirement.
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>> ___
>> iotivity-dev mailing list
>> iotivity-dev at lists.iotivity.org
>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>
>
>
>
> --
>
> With Regard's'
>
> Matta Jayaram
>
> +91-9493952323
>
> +91-8096796118
>
>
>
>
>



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170202/fac7c2bb/attachment.html>
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13402 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170202/fac7c2bb/attachment.gif>


[dev] Memory Footprint

2017-02-02 Thread Matta Jayaram
Dear Jaehong,

Just a small additional information to previous Thiago response,

   The *"Text" + "Data"* sizes together are the *required space in Flash*,

while *"Data" + "Bss"* is the* RAM *requirement.

*Iotivity-Constrained with RIOT OS Supported Boards:*

   Tried Iotivity-Constrained with Nucleo-F4XXre,Raspberrypi 3 and Atmel
Samx2XXpro Boards .

*Case1:* Iotivity-Constrained with RIOT OS to Nucleo-F4XXre Board

1.Generated Client and Server Executable files(i.e .hex & .elf)

*Available Flash Memory: 512Kb*

Client.elf>>>1.3Mb

Text

49324

Data

280

Bss

27652

Dec

77256

Hex

12dc8

*Client.hex>>>136.3Kb*

Server.elf>>>1.3Mb


Text

49004

Data

312

Bss

27732

Dec

77048

Hex

12cf8

*Server.**hex**>>>**135.5Kb*

*Memory Configuration:*

*Name Origin  Length  Attributes*

rom   0x08000x0008   xr

ram0x2000   0x00018000   xrw

cpuid  0x1fff7a10  0x000c

*default*   0x0x


*Case2:* Iotivity-Constrained with RIOT OS to Raspberry Pi 3

1.Generated Client and Server Executable files(i.e .hex & .elf)

*Client.elf>>>125Kb*

Client.hex>>>125Kb

*Server.elf>>>124.9Kb*

Server.hex>>>124.9Kb

Memory Configuration:Default


*Case3:* Iotivity-Constrained with RIOT OS to Atmel Samx2XXpro Board

1.Generated Client and Server Executable files(i.e .hex & .elf)

*Available Flash Memory: **256**Kb*

Client.elf>>> 2.31 Mb

Text

72560

Data

284

Bss

31120

Dec

103964

Hex

1961c


*Client.hex>>>200.1Kb*

Server.elf>>> 2.3Mb

Text

72184

Data

316

Bss

31200

Dec

103700

Hex

19514

*Server.hex>>>199.2Kb*

*Memory Configuration:*

NameOrigin   Length  Attributes

rom   0x0x0004 xr

ram0x20000x8000xrw

*default*  0x 0x


*Iotivity-Constrained with Contiki OS Supported Board:*

*Available Flash Memory: 512Kb*

Memory Configuration :

server.bin ===>114.5kb

client.bin ===>119.3kb

NameOrigin Length
   Attributes

FLASH 0x0800   0x0008   xr

RAM 0x2000 0x00014000xrw

*default* 0x  0x

On Wed, Feb 1, 2017 at 8:21 PM, Thiago Macieira 
wrote:

> Em quarta-feira, 1 de fevereiro de 2017, ?s 06:24:54 PST, Jaehong, Jo
> escreveu:
> > Hi, Thiago.
> >
> > Do you have material about memory footprint using IoTivity Constrained?
> > How can I measure it on Zephyr?
>
> Hello Jaehong
>
> Since the Constrained FW does not allocate memory dynamically (no malloc),
> you
> can measure the size by using the "size" command on your toolchain. The
> "text"
> and "data" sizes together are the required space in Flash, while "data"
> plus
> "bss" is the RAM requirement.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> ___
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170202/160c4916/attachment.html>


[dev] Iotivity with ESP8266

2016-12-29 Thread Matta Jayaram
Hi,

 Now I am Trying to create Multiple Resources with ESP8266 ( adding two
resources for same ESP8266 Device )

 From Eclipse Simulator I am unable to Discover these Resources and I
am getting 272 bytes of payload ,But for a Single Resource I am getting 209
bytes of payload & I am able to Discover it.

If I decrease the Payload size then I am able to Discover the Multiple
Resources.

I found this same issue is exists in previous version 1.1.0. and it fixed
in 1.1.1 version for Memory Constrained Devices like Arduino,ESP8266.

Case 1:I am able Discover multiple Resources by Decreasing the Payloadsize
(this is not a right way because I am unable to create resources with all
neccessary things&options )

Case 2: Even I tried to increasing the size of it before return
cborEncoderResult still I am unable to Discover Multiple resources from
Eclipse Simulator.

And one more thing that in Iotivity code I found these lines and I changed
it to other higher values

/* 320 is maximum size of a CoAP PDU for embedded
platforms...Arduino,ESP8266,...etc*/

/* 1400 is maximum size of a CoAP PDU for big platforms*/

then also I am unable to Discover Multiple Resources.

Please Suggest on it.


-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161229/f8b1874c/attachment.html>


[dev] Iotivity with ESP8266

2016-12-27 Thread Matta Jayaram
Dear Team ,

 Now I am Trying to create Multiple Resources with ESP8266 and I am
following Link referred & Provided by the Khaled Qorany and Khaled Elsayed.

While Creating Multiple Resources like light,fan,..etc .

>From Eclipse Simulator I am unable to Discover these Resources and I am
getting 272 bytes of payload ,But for a Single Resource I am getting 209
bytes of payload & I am able to Discover it.

File:/resource/csdk/security/src/pstatresource.c

Line Nums : 38 to 43

/** Default cbor payload size. This value is increased in case of
CborErrorOutOfMemory.

* The value of payload size is increased until reaching below max cbor
size. */

static const uint16_t CBOR_SIZE = 512;//***I changed it to 1024 & 2200
&4400***//

// Max cbor size payload.

static const uint16_t CBOR_MAX_SIZE = 4400;

Even still I am unable to Discover Multiple Resources when I clicking
FindResource option on Eclipse Simulator.

Please Suggest on it.


-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161227/9357fbdd/attachment.html>


[dev] Questions about ESP8266 porting

2016-12-22 Thread Matta Jayaram
Hi,

 All of us Know that Espressif ESP8266 Modules Supports Different
SDK's(RTOS,NON-OS).But for
porting Iotivity to ESP8266 I used Arduino<https://github.com/esp8266/Arduino/>,
so almost all the code written for Arduino can be easily reused with
ESP8266.(for more info you can you can check Mailinglists of Khaled,Damian
Rakowski)

  here are ESP8266 parameters. Please note there are various variants, so I
chosen one of the most common options (ESP8266-12E)

CPUSpeed  80MHz(It can also reach a maximum value of 160MHz)

Flash Memory size--512kB

There is no programmable ROM in the SoC, therefore, user program must be
stored in an external SPI flash.

This module is mounted with an 4 MB external SPI flash to store user
programs.

Suggested SPI Flash memory capacity:

?OTA is disabled:minimum flash memory that can be supported is 512 kB

?OTA is enabled: minimum flash memory that can be supported is 1 MB

a SPI flash with larger memory size is preferred. Theoretically speaking,
upto 16 MB memory capacity can be supported.

Several SPI modes can be supported, including Standard SPI, Dual SPI, and
Quad SPI.Therefore, please choose the correct SPI mode when you are
downloading into the flash, otherwise firmwares/programs that you
downloaded may not work in the right way.

Dimensions16mm * 24mm * 3mm(Length
x Width x Height)

Priceabout -$3

*ESP-12E Features: *

?802.11 b/g/n

?Integrated low power 32-bit MCU

?Integrated 10-bit ADC

?Integrated TCP/IP protocol stack

?Integrated TR switch, balun, LNA, power amplifier and matching network

?Integrated PLL, regulators, and power management units

?Supports antenna diversity

?Wi-Fi 2.4 GHz, support WPA/WPA2

?Support STA/AP/STA+AP operation modes

?Support Smart Link Function for both Android and iOS devices

?Support Smart Link Function for both Android and iOS devices

?SDIO 2.0, (H) SPI, UART, I2C, I2S, IRDA, PWM, GPIO

?STBC, 1x1 MIMO, 2x1 MIMO

?A-MPDU & A-MSDU aggregation and 0.4s guard interval

.Deep sleep power <10uA, Power down leakage current < 5uA

?Wake up and transmit packets in < 2ms

?Standby power consumption of < 1.0mW (DTIM3)

?+20dBm output power in 802.11b mode

?Operating temperature range -40C ~ 125C

*Iotivity Related:*

SimpleClientServer Executable file Size 1.2Mb

general server.bin size 384.5kb

smartplug prototype server.bin size  399.3 kB

ColourRGB prototype ocserver.bin size 398kb



On Thu, Dec 22, 2016 at 11:03 AM, ???  wrote:

> Hello?
>
> I read your e-mail you have ported iotivity to ESP8266 successfully.
>
> AFAIK, ESP8266 has 64KiB RAM for instruction and 96 KiB of data RAM.
>
> External Flash is 512KiB(64KB) to 4MiB.
>
> Can you estimate the RAM and Flash size of iotivity for ESP8266?
>
> Did you use ESP8266 SDK for this? If you use it then which SDK did use?
>
> (e.g.: Non-OS or RTOS SDK)
>
>
>
> Kind Regards,
>
> Hyungjun.
>
>
>
>
>



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161222/3f236942/attachment.html>
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13402 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161222/3f236942/attachment.gif>


[dev] Iotivity With ESP8266

2016-12-13 Thread Matta Jayaram
Dear Team,

I ported Iotivity to ESP8266 & I am able to control it From
Iotivity Ported Ubuntu PC. Now I want to control it from Iotivity based
Android App.That App has to Work Similar to Generic Eclipse Simulator
Iotivity Client Plugin to Initiate GET,PUT with Different Payloads, POST,
OBSERVE Queries. If any of you find Sample Iotivity Android Client App or
Web Interface please suggest it .



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161213/d2fcf75e/attachment.html>


[dev] ESP 8266 Support in IoTivity

2016-12-08 Thread Matta Jayaram
Dear Vishnu,

Before Porting Iotivity to ESP8266 analyze the steps to Port
iotivity to Arduino .Problem with Wifi shield.use that OCServer program as
reference and identify why this(mentioned in iotivity 1.1.1) wifi shield
not supporting Multicasting.


On Thu, Dec 8, 2016 at 2:35 PM, Philippe Coval <
philippe.coval at osg.samsung.com> wrote:

> On 08/12/16 10:00, Vishnu Bemre wrote:
>
> Dear  Jayaram,
>
>   Thanks.
>
>  I could find OCServer under \iotivity-1.1.1\resource\csdk\
> stack/samples/Arduino/SimpleClientServer but this seem to be using wi fi
> shield. Is this the right one?
>
>  If  NOT, can you please tell me which sample file to refer.
>
>   Sorry for asking more details.
>
>
>
>
> Hi,
>
> If it help, I have made this minimalist binary switch csdk example,
>
> https://github.com/TizenTeam/iotivity-example/tree/sandbox/pcoval/arduino
>
> I've tested iotivity 1.1.1 on arduino mega2560 +eth shield
>
> I will try to run it again with later versions,
> but I suspect there are regressions to be fixed
> You'll find more hints about it:
> http://www.slideshare.net/SamsungOSG/iot-from-arduino-
> microcontrollers-to-tizen-products-using-iotivity
>
> Ask me for support
>
> -- mailto:philippe.coval at osg.samsung.com  osg.samsung.com> gpg:0x467094BChttps://blogs.s-osg.org/author/pcoval/
>
>
> ___
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>


-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161208/49946469/attachment.html>


[dev] ESP 8266 Support in IoTivity

2016-12-08 Thread Matta Jayaram
Dear Vishnu,

Arduino sample programs are Available in Iotivity main Distribution
1.1.1(https://www.iotivity.org/downloads/iotivity-1.1.1)

On Thu, Dec 8, 2016 at 1:09 PM, Vishnu Bemre  wrote:

> Dear Jayaram,
>
>   Thanks alot for the quick reply and great to hear that it is ported to
> esp8266.
>
>Can you please let me know the URL where I can find such sample program.
>
>
>
> Thanks
>
> Vishnu
>
>
>
> *From:* Matta Jayaram [mailto:mattajayaram at gmail.com]
> *Sent:* Thursday, December 08, 2016 1:06 PM
> *To:* Vishnu Bemre 
> *Cc:* iotivity-dev at lists.iotivity.org
> *Subject:* Re: [dev] ESP 8266 Support in IoTivity
>
>
>
> Dear Vishnu,
>
>  Yes it is possible , I ported Iotivity to ESP8266 and I builted an
> Smartplug prototype with it.
>
> For reference you can use that sample programs available for arduino with
> few changes.
>
>
>
> On Thu, Dec 8, 2016 at 12:49 PM, Vishnu Bemre 
> wrote:
>
> Hello,
>
>   I would like to use ESP 8266 wifi module with IoTivity.
>
>   Can you please let me know whether it is possible?
>
>   If it is possible, please send me an example program for my reference.
>
>
>
> Thanks in advance
>
> Vishnu
>
>
>
> ::DISCLAIMER::
> 
> 
> 
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error
> please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses
> and other defects.
>
> 
> 
> --------
>
>
> ___
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
>
>
> --
>
>
>
> With Regard's'
>
> Matta Jayaram
>
> +91-9493952323
>
> +91-8096796118
>



-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161208/51852487/attachment.html>


[dev] ESP 8266 Support in IoTivity

2016-12-08 Thread Matta Jayaram
Dear Vishnu,

 Yes it is possible , I ported Iotivity to ESP8266 and I builted an
Smartplug prototype with it.

For reference you can use that sample programs available for arduino with
few changes.

On Thu, Dec 8, 2016 at 12:49 PM, Vishnu Bemre  wrote:

> Hello,
>
>   I would like to use ESP 8266 wifi module with IoTivity.
>
>   Can you please let me know whether it is possible?
>
>   If it is possible, please send me an example program for my reference.
>
>
>
> Thanks in advance
>
> Vishnu
>
>
>
> ::DISCLAIMER::
> 
> 
> 
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error
> please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses
> and other defects.
>
> 
> 
> 
>
> ___
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>


-- 

With Regard's'

Matta Jayaram

+91-9493952323

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161208/a98c5444/attachment.html>


[dev] Iotivity with Arduino and ESP8266

2016-11-18 Thread Matta Jayaram
Dear Developers,

 Any of you tried Below Combination

CASE1:Controlling Iotivity ported Arduino+ethernet shield (server) from
Iotivity ported Ubuntu PC(Client){Terminal/Eclipse Simulator}

CASE2:Controlling Iotivity ported ESP8266(server) from Iotivity ported
Ubuntu PC(Client)


Ubuntu PC(Client) Log (ESP8266 used as Server)

45:15.156 DEBUG: OIC_CA_RETRANS: wait..(100)microseconds

45:15.156 INFO: OIC_CA_IP_SERVER: unicast ipv4 sendTo is successful: 26
bytes

45:15.156 DEBUG: OIC_CA_QING: wait..

45:16.160 DEBUG: OIC_CA_RETRANS: wait..(100)microseconds

45:17.160 DEBUG: OIC_CA_RETRANS: wait..(100)microseconds

45:18.160 DEBUG: OIC_CA_RETRANS: 2019000 microseconds time out!!, tried
count(0)

45:18.160 DEBUG: OIC_CA_RETRANS: retransmission CON data!!, msgid=10226

45:18.160 DEBUG: OIC_CA_INF_CTR: unicast message to adapter

45:18.160 DEBUG: UQUEUE: Queue Count : 1

as I Know that Arduino & ESP8266 Device will Support IPV4 only,Please
correct me if I am wrong

(iotivity/resource/csdk/connectivity/src/ip_adapter/arduino/caipserver_wifi.cpp

iotivity/resource/csdk/connectivity/src/ip_adapter/esp8266/caipserver_wifi.cpp)

 From the Ubuntu Client I am able to Send unicast ipv4 Message but from
ESP server Device I am not getting any Response

Please Suggest on it





-- 

With Regards,

Matta Jayaram,

Software Engineer

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161118/95962de3/attachment.html>


[dev] Iotivity with Esp8266

2016-11-10 Thread Matta Jayaram
Dear Developers,

Ported Iotivity to ESP8266 Device.Now I am Trying To Control Esp8266
(Server) Device.

*CASE1:*Using one Esp8266 Device as Client and Another Esp8266 Device as
Server   *Device Discovery,GET,PUT...etc are Working **fine.*

*CASE2:*Now I am Trying To Control Esp8266 (Server) Device by Running the
occlient/simple client on Iotivity Ported Ubuntu PC.

  Here the Strict rule is that I am Not allowed to change anything on
ClientSide .cpp file (Ubuntu PC).

To achieve it I made some Changes in ocserver.cpp (Esp8266 server)file.

*Device Discovery is Working ,When I issueing the GET Request from Eclipse
Simulator or ./occlient -t 9 From Ubuntu terminal My ESP8266(Server) not
Responding to it and I am also verified even it is not entering into
the(**OCEntityHandlerCb
function)*

OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
OCEntityHandlerRequest * entityHandlerRequest, void */*callbackParam*/)

*{*

// This is the entity handler for the registered resource.

// This is invoked by OCStack whenever it recevies a request for this
resource.

*}*

Please Suggest on it,


-- 

With Regards,

Matta Jayaram,

Software Engineer

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161110/a1abf448/attachment.html>


[dev] Iotivity with ESP8266

2016-11-04 Thread Matta Jayaram
Dear Developers,

 I have Ported Iotivity to the ESP8266. I have also gone through
Aurdino sample programs and wrote simple server program for ESP8266.

For this Discovery method is working properly  but facing issues with
GET,PUT,etc.. methods as getting OC_STACK_COMM_ERROR.

If any of you working on this, please suggest.




-- 

  Thanks & Regards,

Matta Jayaram,

Software Engineer

+91-8096796118
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161104/519c035d/attachment.html>


[dev] Help_contiki_iotivity

2016-08-25 Thread Matta Jayaram
Hi Everyone,

How to set up the Development Environment,to build the IoTivity
stack and build sample applications for Contiki OS.





Regards,
JAYARAM
-- next part --
An HTML attachment was scrubbed...
URL: