Either of those would work, or you could simply do this: (daisy-chain 2 pies together with an Ethernet cord)dineshlama wrote: Which is the best and fastest communication method between two pi? pi directly communicating with another pi one being wireless access point or pi communicating another pi throught router?
Hmm, this sounds like an XY Problem - the OP wants to do X, and they think the best way to do it is Y, so they only ask how to do Y.dineshlama wrote: ↑Sun Apr 26, 2020 10:08 pmI want wireless communication not wiered connection. i am using pi 4B 4 gb ram.
If you understood WI-Fi you would realise that Wi-Fi is a shared medium.dineshlama wrote: ↑Sun Apr 26, 2020 10:08 pmI want wireless communication not wiered connection. i am using pi 4B 4 gb ram.
Avoiding the router should significantly reduce collisions as there is only half the traffic needed to be sent. My experience is that trying to pass a large amount of data from one wireless device to another through a router is hopeless. Due to all the collisions the transfer backs off from 1/10 to 1/100 the expected speed.drgeoff wrote: ↑Sun Apr 26, 2020 11:09 pmIf you understood WI-Fi you would realise that Wi-Fi is a shared medium.dineshlama wrote: ↑Sun Apr 26, 2020 10:08 pmI want wireless communication not wiered connection. i am using pi 4B 4 gb ram.
RPiA to Wi-Fi router to RPiB means RPiA transmits packets to router. Router can only retransmit packets to RPiB when RPIA is quiet. That is router does some degree of store and forward.
RPiA direct to RPiB means no store and forward.
Clearly not the same with regard to time.