Intelligent gateway for real time train tracking and railway crossing including emergency path using D2D communication | IEEE Conference Publication | IEEE Xplore