Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Justin Mclean
HI,

> It would really make sense to have this documented somewhere where everyone 
> can read it.

I believe it on trademarks list to do.

Thanks,
Justin

Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Christofer Dutz
Hi Justin,

It would really make sense to have this documented somewhere where everyone can 
read it.

But I have no problems with it. Was just pointing out that the first document 
actually didn't explicitly say that.

Chris

Von: Justin Mclean 
Gesendet: Samstag, 2. Mai 2020 01:09
An: dev@plc4x.apache.org 
Betreff: Re: Add a list of companies using PLC4X without links back?

Hi,

> But the text in the link actually says you have to be consistent ... not that 
> all links have to be no-follow.

You need to rad elsewhere - see also this [1]

Justin

1. 
https://lists.apache.org/thread.html/r68df1ac8c2895071ca81e5183ad181891c98bbe1e379488653568327%40%3Cprivate.incubator.apache.org%3E


Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Justin Mclean
Hi,

> But the text in the link actually says you have to be consistent ... not that 
> all links have to be no-follow.

You need to rad elsewhere - see also this [1]

Justin

1. 
https://lists.apache.org/thread.html/r68df1ac8c2895071ca81e5183ad181891c98bbe1e379488653568327%40%3Cprivate.incubator.apache.org%3E

[BUILD-STABLE]: Job 'PLC4X/PLC4X/develop [develop] [845]'

2020-05-01 Thread Apache Jenkins Server
BUILD-STABLE: Job 'PLC4X/PLC4X/develop [develop] [845]':

Is back to normal.

[BUILD-FAILURE]: Job 'PLC4X/PLC4X/develop [develop] [844]'

2020-05-01 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'PLC4X/PLC4X/develop [develop] [844]':

Check console output at "https://builds.apache.org/job/PLC4X/job/PLC4X/job/develop/844/;>PLC4X/PLC4X/develop
 [develop] [844]"

Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Christofer Dutz
Hi Justin,

But the text in the link actually says you have to be consistent ... not that 
all links have to be no-follow.

Chris

Am 01.05.20, 16:39 schrieb "Justin Mclean" :

Hi,

> Can you point to that policy?


See [1] also see recent conversation re shardingshpere and 
trademarks/branding.

Thanks,
Justin

1. https://www.apache.org/foundation/marks/linking#projectthanks



Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Justin Mclean
Hi,

> Can you point to that policy?


See [1] also see recent conversation re shardingshpere and trademarks/branding.

Thanks,
Justin

1. https://www.apache.org/foundation/marks/linking#projectthanks

Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Christofer Dutz
Hi Justin,

So it seems in Asciidoc we could to this by "[opts=nofollow]".
If we simply do that, would that be ok?

I think I'll create an almost empty list which is currently not linked to the 
navigation menu
Then we have something to work with and discuss.

Chris



Am 01.05.20, 15:55 schrieb "Justin Mclean" :

HI,

> [1] https://github.com/apache/airflow#who-uses-apache-airflow

Which as far as I can see doesn’t follow ASF policy - links need to be 
no-follow for starters.

Thanks,
Justin




Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Otto Fowler
 Can you point to that policy?

On May 1, 2020 at 09:55:23, Justin Mclean (jus...@classsoftware.com) wrote:

HI,

> [1] https://github.com/apache/airflow#who-uses-apache-airflow

Which as far as I can see doesn’t follow ASF policy - links need to be
no-follow for starters.

Thanks,
Justin


Re: Add a list of companies using PLC4X without links back?

2020-05-01 Thread Justin Mclean
HI,

> [1] https://github.com/apache/airflow#who-uses-apache-airflow

Which as far as I can see doesn’t follow ASF policy - links need to be 
no-follow for starters.

Thanks,
Justin



Re: Big and littleendian fields in one mspec

2020-05-01 Thread Christofer Dutz
Hi folks,

so Lukasz just sent me a little pcap file with some AMS packets in there and my 
assumption was correct:

for example in the byte-stream I can see the "flags" being 0x0400 ... However 
wireshark read this as unsigned short LE and therefore re-aranged the bytes:
StateFlags: 0x0004
   ...0 = RESPONSE: Not set
   ..0. = NO RETURN: Not set
   .1.. = ADS COMMAND: Set
   0... = SYSTEM COMMAND: Not set
  ...0  = HIGH PRIORITY COMMAND: Not set
  ..0.  = TIMESTAMP ADDED: Not set
  .0..  = UDP COMMAND: Not set
  0...  = INIT COMMAND: Not set
0...    = BROADCAST: Not set

So in above example only one field is true: "ADS COMMAND" ... so if I decode 
0x0400 to binary that’s: 0100 

So this exactly fits my proposed mspec definition of: 

[type 'State'
[simple bit 'initCommand'   ]
[simple bit 'updCommand']
[simple bit 'timestampAdded']
[simple bit 'highPriorityCommand'   ]
[simple bit 'systemCommand' ]
[simple bit 'adsCommand']
[simple bit 'noReturn'  ]
[simple bit 'response'  ]
[simple bit 'broadcast' ]
[reserved   int 7 '0x0' ]
]

So I strongly object introducing any special endianness "feature" for this (in 
this case) ... 
we might encounter something where we need it, but for this we don't.

Chris



Am 30.04.20, 23:02 schrieb "Christofer Dutz" :

Hi Lukasz,

I wasn't suggesting to look how WireShark decodes things. Cause I would 
assume that they read a short in little endian and then (on the rearranged 
bytes) apply some bit checks. 

I was more suggesting that you look into the bytes Wireshark shows you and 
to check their exact position.

When implementing drivers, I used the Mac's Calculator tool quite often to 
see the bits for a given byte value.

In your example I can't see any need for endianness at all ... it's all 
just bits and one empty block which forms a full byte together with the first 
bit.
As this block doesn't cross any byte boundaries I can't see any problems 
with this.

Assuming I understand what you are implying with 

[type little endian 'State'
[simple bit 'broadcast' ]
[reserved   int 7 '0x0' ]
[simple bit 'initCommand'   ]
[simple bit 'updCommand']
[simple bit 'timestampAdded']
[simple bit 'highPriorityCommand'   ]
[simple bit 'systemCommand' ]
[simple bit 'adsCommand']
[simple bit 'noReturn'  ]
[simple bit 'response'  ]
]

Then it should be equal to:

[type 'State'
[simple bit 'initCommand'   ]
[simple bit 'updCommand']
[simple bit 'timestampAdded']
[simple bit 'highPriorityCommand'   ]
[simple bit 'systemCommand' ]
[simple bit 'adsCommand']
[simple bit 'noReturn'  ]
[simple bit 'response'  ]
[simple bit 'broadcast' ]
[reserved   int 7 '0x0' ]
]

Which also seems to be the exact order how the bits go over the wire ... I 
mean ... it doesn't make any sense to put the 7 empty bits in the middle.

Chris


Am 30.04.20, 22:42 schrieb "Łukasz Dywicki" :

Hey Chris and others,
I let this topic to dust and freeze a bit, however I would like to lift
it up again. Since the 0.7 release is now in discussion and ADS is not
ported yet I believe it is reasonable to validate this problem.

As you suggested I've checked wireshark sources to see how they parse
state fragment of AMS header. While I can not read C properly and was
unable to locate actual reading logic, I do see they care about 
endianness:

https://github.com/wireshark/wireshark/blob/5cf3fd03f1538b37704d83b6c38b8223f9036108/plugins/epan/ethercat/packet-ams.c#L429

Their frame traversal goes in following order:
- response
- no return
- ads cmd
- system cmd
- high priority
- timestamp add
- udp
- init cmd
- broadcast

When I've tried to model mspec with respect to little endian order, I
end up with following field order:
- init cmd
- udp
- timestamp add
- high priority
- system cmd
- ads cmd
-